<Swing Dev> [8] Review request for 4796987 XP Only: JButton.setBorderPainted() does not work with XP L&F

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Feb 26 15:51:08 UTC 2013


Hi, Alexander.
Does JButtons.setBackground work as expected after the fix, and Is it 
possible to split this "if" in two lines?

Thanks.

25.02.2013 17:08, Alexander Scherbatiy wrote:
>
> Hello,
>
> Could you review the fix:
>   bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4796987
>   webrev: http://cr.openjdk.java.net/~alexsch/4796987/webrev.01
>
>   The fix does not show a buttton background on Windows XP if the 
> button border is null or the isBorderPainted flag is false.
>
> Thanks,
> Alexandr.
>


-- 
Best regards, Sergey.




More information about the swing-dev mailing list