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

Tejesh R tr at openjdk.org
Tue Sep 27 06:21:25 UTC 2022


On Tue, 27 Sep 2022 06:10:07 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

>> `win.frame.backgroundColor` is key and value is color set for `window`. Default color is FFFFF/null, when it is set by user the color updates.
>
> From WindowsDesktopProperty.java constructor it looks like these are not key value pairs. Similar observation is there in DesktopProperty.java.
> It looks like table.get("window") is fallback when win.frame.backgroundColor is null.

Ok, but we are not modifying `win.frame.backgroundColor` property, only` "CheckBox.interiorBackground"` is been set to null. `WindowBackgroundColor` is also used in other properties, so nothing is modified except ` "CheckBox.interiorBackground"`.

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

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



More information about the client-libs-dev mailing list