<Swing Dev> RFR: 8075915: The eight controls without black backgrounds with WinLAF & GTK LAF & Nimbus LAF [v3]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Apr 15 09:55:34 UTC 2021


On Wed, 14 Apr 2021 20:43:53 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

>> This manual test was written for Metal L&F, so now it is set explicitly.
>> Test is also refactored to use JFrame instead of Applet.
>> 
>> The test is not in `ProblemList.txt`.
>> It still fails on JDK 1.5 (after removing all syntactic sugar).
>
> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   allow to run it with different L&F

test/jdk/javax/swing/JCheckBox/4449413/bug4449413.java line 191:

> 189:         };
> 190: 
> 191:         b.setOpaque(true);

Any reason why this setOpaque was added? I am of the opinion that it should get controlled either by LookAndFeel.installProperty or by component's constructor.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3474


More information about the swing-dev mailing list