<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 12:34:18 UTC 2021


On Wed, 14 Apr 2021 06:45:16 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> I see RadioButton and RBMenuItem check mark is not visible...so probably there is still a product bug somewhere...I guess we need to fix that as well when we fix this test..

Actually it is clearly visible. You can click on it to see the difference between checked/unchecked state.
Probably you are referring to a circle shape of  "check mark", but that is correct shape.

Here is a comparison of JDK17 vs JDK5 (all components are in selected state).

JDK17
![image](https://user-images.githubusercontent.com/77687766/114709437-3dc3c600-9d35-11eb-8d99-955ab72f9fb4.png)
JDK5
![image](https://user-images.githubusercontent.com/77687766/114709449-41efe380-9d35-11eb-96a3-e025ddc17528.png)

JDK17
![image](https://user-images.githubusercontent.com/77687766/114709471-4a481e80-9d35-11eb-9bb2-9281d6c7a4c4.png)
JDK5
![image](https://user-images.githubusercontent.com/77687766/114709483-4f0cd280-9d35-11eb-9602-1104277581f7.png)

JDK5 clearly failed this test.

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

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


More information about the swing-dev mailing list