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. Closed test case mentioned in JBS runs only in Default LAF. We need to explicitly specify LAF. Also it looks like closed test is unstable: 1) With default LAF test hangs in my mac 2) With Nimbus LAF it passes without the fix. Its better to add separate regression test to verify this fix. ------------- PR: https://git.openjdk.org/jdk/pull/10177
