<AWT Dev> [8] Review request for 8006417 : JComboBox.showPopup(), hidePopup() fails in JRE 1.7 on OS X

Anton Litvinov anton.litvinov at oracle.com
Thu Jan 17 02:29:17 PST 2013


Hello,

Please review the following fix for a bug.

Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8006417
Webrev: http://cr.openjdk.java.net/~alitvinov/8006417/jdk8/webrev.00

This bug consists in influence of a call to JComboBox.hidePopup() on an 
immediate subsequent call to JComboBox.showPopup(), which results in 
hiding of a popup menu shown by a call to JComboBox.showPopup(). A 
solution is based on not posting of "sun.awt.UngrabEvent" by 
"sun.lwawt.LWWindowPeer.ungrab()", when it is called from 
"sun.lwawt.LWToolkit". Such a solution is adopted from similar native 
code of JDK for Windows OS.

Thank you,
Anton



More information about the awt-dev mailing list