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

Merlinb58:SwingSet2Demo:Restore Popup MenuItm disabled for minimized InternalFrm

XMLWordPrintable

    • 07
    • generic, x86
    • generic, windows_2000

        In Motif L&F, the 'Restore' Popup Menu item is disabled for an Internal Frame which was Minimized in either Java L&F or Windows L&F. In the Popup Menu only Minimize and Maximize Menu items are enabled. On selecting the 'Minimize' Popup menu item, the window is Restored.
        Similarly for a Minimized Internal Frame in Windows L&F, the tooltip of Restore
        button shows 'Minimize' instead of 'Restore'.

        Steps to Reproduce:

        1) Launch SwingSet2 Demo
        2) Select Java or Windows L&F and then in the InternalFrames Demo, minimize an Internal Frame window.
        3) Change L&F to Motif L&F.
        4) Now try to Restore the Minimized Internal Frame window by opening the Popup Menu. Notice that 'Restore' Menu Item is disabled in the Popup Menu. And Selecting the 'Minimize' Menu Item Restores the window.
        Expected Result: The 'Restore' menu item should not be diabled for a minimized window. Instead the 'Minimize' menu item should be disabled.
        5) Change the L&F to Windows L&F. Notice the tooltip for the 'Restore' button which appears for the minimized internal frame window incorrectly shows 'minimize'. The tooltip should be 'Restore'.

        This occurs on all the platforms.

        %java -version
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b58)
        Java HotSpot(TM) Client VM (build 1.4.0-beta-b58, mixed mode)


        ruchika.mehdiratta@Eng 2001-04-03

              joutwatesunw Joshua Outwater (Inactive)
              rmehdirasunw Ruchika Mehdiratta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: