<Swing Dev> Review request for JDK-8145060 Minimizing a JInternal frame not shifting focus to frame below it

Rajeev Chamyal rajeev.chamyal at oracle.com
Mon Dec 14 05:32:46 UTC 2015


Hello All,

 

Please review the following fix for Jdk9:
 
Bug: https://bugs.openjdk.java.net/browse/JDK-8145060 

Webrev: http://cr.openjdk.java.net/~rchamyal/8145060/webrev.00/ 

Issue: On minimizing the successive internal frames the focus is not shifting to frame below it. 

 

Cause: During minimize internal frame is removed from container. Removal of internal frames from container also removes the internal frame entry from internal frame cache.
During focus shift cache is checked for current internal frame entry and then focus is shifted to frame below it. As removal from container has already updated the cache so
Current frame is not found in cache and focus shift fails.
 
Fix: Internal frame removal from container is done after focus shift.
 
Regards,
Rajeev Chamyal

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20151213/36fff686/attachment.html>


More information about the swing-dev mailing list