RFR: 8075916: The regression-swing case failed as colored text is not shown on disabled checkbox and radio button with Nimbus LAF
Tejesh R
tr at openjdk.org
Mon Sep 19 18:07: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.
Fix tested and verified.
-------------
Marked as reviewed by tr (Author).
PR: https://git.openjdk.org/jdk/pull/10177
More information about the client-libs-dev
mailing list