-
Bug
-
Resolution: Fixed
-
P3
-
1.3.1_04, 1.4.0
-
07
-
generic, x86
-
generic, windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2042131 | 1.4.0 | Joshua Outwater | P3 | Closed | Fixed | beta2 |
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
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
- backported by
-
JDK-2042131 Merlinb58:SwingSet2Demo:Restore Popup MenuItm disabled for minimized InternalFrm
- Closed
- relates to
-
JDK-4778571 REGRESSION:BasicInternalFrameTitlePane was not removing any listeners
- Resolved