RFR: 8075916: The regression-swing case failed as colored text is not shown on disabled checkbox and radio button with Nimbus LAF
Alexey Ivanov
aivanov at openjdk.org
Tue Sep 27 18:16:16 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.
Please provide the regression test which iterates over all Look-and-Feels to make sure the setting is always honoured.
-------------
Changes requested by aivanov (Reviewer).
PR: https://git.openjdk.org/jdk/pull/10177
More information about the client-libs-dev
mailing list