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

JInternalFrame is not iconified is setIcon is invoked before adding to desktop

XMLWordPrintable

    • Fix Understood
    • generic
    • generic

      When JInternalFrame is set to iconified, before adding to the desktop shows very strange behavior.

      * A "to-normal" icon is shown as the first control-button icon. This should never happen, since first control-button is always for minimizing.
      * Even when the frame is clicked, it will not become active. On clicking first control-button once, the normal behavior is restored.
      * InternalFrame is shown in normal state even though frameOpened & frameIconified events are received.

      Everything works fine if setIcon is invoked after adding to desktop.

      Refer to attached screenshot.
      Compile and run JInternalFrameTest and refer to behavior of "Internal Frame 1"

            mbronsonsunw Mike Bronson (Inactive)
            rmenonsunw Rakesh Menon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: