On Wed, 14 Dec 2022 04:59:56 GMT, Prasanta Sadhukhan <[email protected]>
wrote:
> Label.foreground UIProperty is not honored by Nimbus L&F. It needs to be
> Label[Enabled].textForeground which is the corresponding Synth property
> Added support for setting JLabel foreground color for Nimbus L&F
test/jdk/javax/swing/plaf/nimbus/TestNimbusLabel.java line 77:
> 75: java.awt.Color.red);
> 76: label =
> 77: //new JLabel("This text should be in red");
Commented code can be removed.
-------------
PR: https://git.openjdk.org/jdk/pull/11660