On Wed, 19 Oct 2022 08:21:27 GMT, Sergey Bylokhov <[email protected]> wrote:

> Why we did not get this colors from the native system? I also suggest to 
> check an initial 
> [fix](https://github.com/openjdk/jdk/pull/10177#issuecomment-1276765550). 
> looks like it contradicts the specification.

The color returned from the native system is `grey` even though the user has 
explicitly set it to be some other color in GTK LAF. So, `UIManager.getColor` 
is used to retrieve the color for disabled checkbox and radiobutton if property 
is set by user else `getColorForState` will return the appropriate color.

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

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

Reply via email to