On Wed, 17 Aug 2022 10:46:07 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
> Label.foreground UIProperty is not honored by Nimbus L&F. > Added support for setting JLabel foreground color for Nimbus L&F Copyright year for SynthLabelUI.java needs to be updated. Applied the patch and tested, fix works. test/jdk/javax/swing/plaf/nimbus/TestNimbusLabel.java line 77: > 75: java.awt.Color.red); > 76: label = > 77: new JLabel("<html><body>Can You Read > This?</body></html>"); Minor suggestion: how does "This text should be in red" sound ? test/jdk/javax/swing/plaf/nimbus/TestNimbusLabel.java line 119: > 117: } > 118: } > 119: } missing new line at EOF ------------- PR: https://git.openjdk.org/jdk/pull/9900