RFR: 8075916: The regression-swing case failed as colored text is not shown on disabled checkbox and radio button with Nimbus LAF

Jayathirth D V jdv at openjdk.org
Thu Sep 15 06:16:46 UTC 2022


On Tue, 6 Sep 2022 05:57:09 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> CheckBox.disabledText and RadioButton.disabledText color UIProperty is not honoured by Nimbus L&F when disabled text is drawn for JCheckBox and JRadioButton, so disabled text color was rendered incorrectly.
> Fix is to honour these UIProperty color if they are set by user, else use the color from the component or via getColorForState().
> 
> Closed test as mentioned in JBS is used to check the fix.

Does this fix the issue in GTK LAF also? I see a comment in JBS that same issue is with GTK LAF.

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

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



More information about the client-libs-dev mailing list