<Swing Dev> [12] RFR JDK-8203281:[Windows] JComboBox change in ui when editor.setBorder() is called
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Wed Aug 1 17:11:58 UTC 2018
Hi All,
Please review a fix for an issue where it is seen that combobox gets an
unwanted border around it.
This is a aftereffect of JDK-6490753
<https://bugs.openjdk.java.net/browse/JDK-6490753> where am empty border
is added to combobox to make it look like Vista native combobox.
Proposed fix is to make sure no empty border is drawn if windows version
is not vista.
Here's the combobox looks like before and after fix in windows 10 and 7.
Before fix
After Fix
Bug: https://bugs.openjdk.java.net/browse/JDK-8203281
webrev: http://cr.openjdk.java.net/~psadhukhan/8203281/webrev.0/
Regards
Prasanta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180801/baae6315/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ggpjhnekogobkdam.png
Type: image/png
Size: 1580 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180801/baae6315/ggpjhnekogobkdam.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phmagidmgionikep.png
Type: image/png
Size: 1636 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20180801/baae6315/phmagidmgionikep.png>
More information about the swing-dev
mailing list