<Swing Dev> [10] JDK-8182031: Swing's ComboBox Popup opens and closes immediately

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Wed Jun 14 06:33:21 UTC 2017


Hi All,

Please review a fix for an issue where it is seen that
when clicking the right-most pixel of a JComboBox the related Popup 
opens and closes immediately. This is non-standard behaviour.

Issue was, the bounds for popup was calculated 1 pixel short so 
rightmost edge was not considered.

Proposed fix is to increase the bounds by 1 pixel.
Bug: https://bugs.openjdk.java.net/browse/JDK-8182031
webrev: http://cr.openjdk.java.net/~psadhukhan/8182031/webrev.00/

Regards
Prasanta



More information about the swing-dev mailing list