[7u6] request for review: 7124328: [macosx] javax.swing.JDesktopPane.getAllFramesInLayer returns unexpected value (original) (raw)
Alexander Potochkin Alexander.Potochkin at oracle.com
Tue Apr 10 10:25:54 PDT 2012
- Previous message: [7u6] Review request for 7131021: [macosx] Consider using system properties to pass arguments from the launcher to AWT/SplashScreen
- Next message: [7u6] request for review: 7124328: [macosx] javax.swing.JDesktopPane.getAllFramesInLayer returns unexpected value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello
Please review the following fix: http://cr.openjdk.java.net/~alexp/7124328/webrev.00/
for this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124328
the spec for the method javax.swing.JDesktopPane.getAllFrames()
says
- Returns all
JInternalFrames
currently displayed in the - desktop. Returns iconified frames as well as expanded frames.
but the AquaLookAndFeel on MacOS uses a special container for the minimized internal frames and that's why the current implementation doesn't see them
the proposed fix recursively looks for the internal frames among the JDesktopPane's children
the test can be found here: http://java.net/jira/browse/MACOSX_PORT-557
Thanks alexp
- Previous message: [7u6] Review request for 7131021: [macosx] Consider using system properties to pass arguments from the launcher to AWT/SplashScreen
- Next message: [7u6] request for review: 7124328: [macosx] javax.swing.JDesktopPane.getAllFramesInLayer returns unexpected value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]