RFR: 7175396: The text on label is not painted red for Nimbus LaF. [v5]

Andrey Turbanov aturbanov at openjdk.org
Thu Sep 29 20:58:31 UTC 2022


On Thu, 29 Sep 2022 09:24:21 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Label.foreground UIProperty is not honored by Nimbus L&F.
>> Added support for setting JLabel foreground color for Nimbus L&F
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test fix

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthLabelUI.java line 74:

> 72:     protected void installDefaults(JLabel c) {
> 73:         updateStyle(c);
> 74:         fgColor =  UIManager.getColor("Label.foreground");

let's remove redundant space after `=`

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

PR: https://git.openjdk.org/jdk/pull/9900



More information about the client-libs-dev mailing list