RFR: 8226933: [TEST_BUG]GTK L&F: There is no swatches or RGB tab in JColorChooser
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Sep 6 06:14:49 UTC 2024
On Thu, 5 Sep 2024 10:34:40 GMT, Abhishek Kumar <abhiscxk at openjdk.org> wrote:
> There is no Swatches tab available for GTK Look and Feel due to the different ColorChooser UI design. Updated the test instructions.
test/jdk/javax/swing/JColorChooser/Test4887836.java line 45:
> 43: then test passed, otherwise it failed.
> 44:
> 45: NOTE: There is no Swatches tab for GTK Look and Feel, Press Pass.""";
I guess better to restrict programmatically
"GTK".equals(UIManager.getLookAndFeel().getName())
Also, add a comment why it is not applicable..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20867#discussion_r1746559640
More information about the client-libs-dev
mailing list