RFR: 8295006: Colored text is not shown on disabled checkbox and radiobutton with GTK LAF for bug4314194 [v2]
Abhishek Kumar
duke at openjdk.org
Wed Oct 19 08:47:59 UTC 2022
On Wed, 19 Oct 2022 08:21:27 GMT, Sergey Bylokhov <serb at openjdk.org> 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
More information about the client-libs-dev
mailing list