On Mon, 26 Sep 2022 15:29:19 GMT, Jayathirth D V <j...@openjdk.org> wrote:

> Spent some time to check where all we are using these properties. I see that 
> we use "CheckBox.background" for CheckBoxIcon when it is pressed at 
> https://github.com/openjdk/jdk/blob/master/src/java.desktop/windows/classes/com/sun/java/swing/plaf/windows/WindowsIconFactory.java#L389
> 
> Can you check why we use "CheckBox.background" instead of 
> "CheckBox.interiorBackground" in WindowsIconFactory and what is its behaviour 
> in Windows 11?

<img width="89" alt="CheckBox" 
src="https://user-images.githubusercontent.com/94159358/192432575-35a56b84-2d64-4aa1-ba5b-ce9f31f640f2.png";>

Here Green color is interior background and red is Background. This we can set 
in WindowsClassic, unlike other Look and Feel.

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

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

Reply via email to