Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4316829

JDesktopPane.setSelectedFrame should fire PropertyChangeEvent

XMLWordPrintable

    • Fix Understood
    • generic
    • generic

      Name: krT82822 Date: 02/27/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      It would be usefull if JDesktopPane.setSelectedFrame(JInternalFrame) would
      fire a PropertyChangeEvent. Currently you have either to subclass the
      JDesktopPane and do it yourself. Or, if not possible, you have to write
      a listener (java.awt.ContainerListener) for the JDesktopPane,
      and you have to add an javax.swing.event.InternalFrameListener to every added
      frame.

      The PropertyChangeEvent would be very usefull for doing things like
      enabling/disabling actions.

      Life would be easier...
      (Review ID: 101780)
      ======================================================================

            Unassigned Unassigned
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: