<Swing Dev> [12] RFR JDK-8203281:[Windows] JComboBox change in ui when editor.setBorder() is called

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Aug 1 18:57:59 UTC 2018


Hi, Prasanta.
I am not sure that previous fix[JDK-6490753] was implemented for Vista only.
Maybe Martin (CC) can take a look to this?

On 01/08/2018 10:11, Prasanta Sadhukhan wrote:
> 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


-- 
Best regards, Sergey.



More information about the swing-dev mailing list