RFR: 8295006: Colored text is not shown on disabled checkbox and radiobutton with GTK LAF for bug4314194 [v2]

Abhishek Kumar duke at openjdk.org
Thu Oct 20 06:31:06 UTC 2022


On Wed, 19 Oct 2022 22:13:33 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
>> 
>>  - ProblemList.txt file merge resolved
>>  - 8295006 entry removed from problem lists
>>  - Fix for disabled checkbox and radiobutton colored text
>
> The next line is also does not work in 20
> UIManager.getDefaults().put("CheckBox[Enabled].textForeground", Color.GREEN);

@mrserb I think what you are suggesting is for Nimbus LAF. In case of GTK LAF, as I mentioned earlier that native system returned gray color for disabled checkbox and radio button.

As per my understanding I think user defined color should have precedence over native system color.
What should I do?

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

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



More information about the client-libs-dev mailing list