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

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Wed Jun 14 08:26:12 UTC 2017


Looks good to me.

Thanks,
Alexander.

On 14/06/2017 12:03, Prasanta Sadhukhan wrote:
> 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