<Swing Dev> RFR: 8075915: The eight controls without black backgrounds with WinLAF & GTK LAF & Nimbus LAF [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Wed Apr 14 20:43:53 UTC 2021


On Wed, 14 Apr 2021 12:43:38 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> I am referring to check mark only, not the shape...I could see the white visible selected checkmark(circular) for RadioButton when "Ocean Theme" is not selected but when "Ocean Theme" is selected, black checkmark over black background is not visible.
>
This black check mark does have a light colored halo around which helps to see it.

Here is an example of radio button usage in group:
![image](https://user-images.githubusercontent.com/77687766/114772901-083fcc80-9d77-11eb-8f15-a3218aedc6fe.png)
I definitely can see which one is selected. So I do not see issue here.

> Also, the original bug 4449413 does not talk about Metal. It seems the issue is seen only in Metal but that should not prevent us from running in all L&Fs.

Updated to allow it to run with other L&Fs.

Please see below screenshots with other L&Fs applied. Some of them controversial, but I prefer to file a new bugs for them if any.

![image](https://user-images.githubusercontent.com/77687766/114774723-227aaa00-9d79-11eb-8714-61f718460f02.png)

![image](https://user-images.githubusercontent.com/77687766/114775115-9d43c500-9d79-11eb-8f2b-a4df86849f0c.png)

![image](https://user-images.githubusercontent.com/77687766/114775187-b2205880-9d79-11eb-99e3-c2e7a7f5b892.png)

![image](https://user-images.githubusercontent.com/77687766/114775242-c2383800-9d79-11eb-9427-b650e317806e.png)

![image](https://user-images.githubusercontent.com/77687766/114775276-cc5a3680-9d79-11eb-8ef4-f99122f4174f.png)
(Labels for disabled text is not visible, but MotifLookAndFeel is marked for removal, so probably it is not worth to fix it.)

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

PR: https://git.openjdk.java.net/jdk/pull/3474


More information about the swing-dev mailing list