On Tue, 6 Sep 2022 05:57:09 GMT, Prasanta Sadhukhan <[email protected]> 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. This pull request has now been integrated. Changeset: f3a44a48 Author: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.org/jdk/commit/f3a44a48359a4390b13549ce70de3a04710a1d21 Stats: 151 lines in 2 files changed: 151 ins; 0 del; 0 mod 8075916: The regression-swing case failed as colored text is not shown on disabled checkbox and radio button with Nimbus LAF Reviewed-by: tr, aivanov ------------- PR: https://git.openjdk.org/jdk/pull/10177
