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

Nimbus L&F: Inadequate icon in "Restore" button for iconified JInternalFrames

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 6u5
    • client-libs
    • b04
    • 6u5
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0_05-ea"
      Java(TM) SE Runtime Environment (build 1.6.0_05-ea-b04)
      Java HotSpot(TM) Client VM (build 1.6.0_05-ea-b04, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP SP2

      A DESCRIPTION OF THE PROBLEM :
      The icon of the "Restore" button for iconified JInternalFrames is identical to that of the "Minimize" button for non-iconified JInternalFrames, which can confuse users.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create a JFrame and add a JDesktopPane to it. Then add and display a JInternalFrame to the JDesktopPane. Take note of the "Minimize" button in the displayed internal frame, and click it in order to iconify the internal frame. The iconified internal frame will then sit in the lower-left section of the JDesktopPane. The buttons in the iconified internal frame are identical to those when it is not iconified. This is a problem for the first button, since its semantics has changed - it will now restore the internal frame, instead of iconifying it.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The iconified internal frame should display a different icon in the "Restore" button.
      ACTUAL -
      The iconified internal frame display an icon identical to that of the "Restore" button that is show when the internal frame is not iconified.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: