<Swing Dev> Review request for JDK-6288609 JInternalFrame.setDefaultCloseOperation() interferes with "close" behavior
Rajeev Chamyal
rajeev.chamyal at oracle.com
Thu Oct 29 07:41:01 UTC 2015
Hello All,
Please review the following fix for Jdk9:
Bug: https://bugs.openjdk.java.net/browse/JDK-6288609
Webrev: http://cr.openjdk.java.net/~rchamyal/6288609/webrev.00/
Issue: On disposing the Top level JInternalFrame focus is not shifting to the JInternalFrame below it.
Cause: Dispose method is changing the selection of currently closing frame and then it calls the DefaultDeskTopManager:closeFrame which
finds the JInternalFrame below the closing frame based on selection of the closing frame and then shifts the focus to frame below it.
Since selection is already changed by dispose method DefaultDeskTopManager:closeFrame is unable to find reference to previous frame.
Fix: Removed the selection change code from Dispose method.
Regards,
Rajeev Chamyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20151029/013ced78/attachment.html>
More information about the swing-dev
mailing list