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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic
    • OS:
      generic

      Description

      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"

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Imported:
                Indexed: