On Tue, 27 Sep 2022 05:34:27 GMT, Tejesh R <t...@openjdk.org> wrote:

>> src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsLookAndFeel.java
>>  line 661:
>> 
>>> 659: 
>>> 660:             "CheckBox.font", ControlFont,
>>> 661:             "CheckBox.interiorBackground", (xp != null)?
>> 
>> Do we return any color other than the default FFFFFF/null?
>> What is the use of "win.frame.backgroundColor" property when we always 
>> return table.get("window")?
>
> `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.

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

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

Reply via email to