RFR: 8289539: The color returned by CheckBox.interiorBackground is incorrect

Jayathirth D V jdv at openjdk.org
Tue Sep 27 08:35:27 UTC 2022


On Tue, 27 Sep 2022 08:08:01 GMT, Tejesh R <tr at openjdk.org> wrote:

> > 
> 
> In other L&F there is no such `checkbox.interiorBackground` property hence it is null value when user tries to access it. In windows since in Classic its been used, that property exist for windowsL&F also (Which is not using that property). And also in Windows L&F I couldn't find a way to change the interior background of checkbox as in WindowsClassic, since the image is painted using ImageCache.

>From where the ImageCache knows that it needs to draw/use blue bitmap for checkbox.interiorBackground for Windows 11?

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

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



More information about the client-libs-dev mailing list