File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
test/jdk/javax/swing/JColorChooser Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,14 @@ public static void main(String[] args) throws Exception {
41
41
String instructions = """
42
42
Check that there is a panel with "Text Preview Panel" text
43
43
and with title "Preview" in the JColorChooser.
44
- Test passes if the panel is as described, test fails otherwise.""" ;
44
+ Test passes if the panel is as described, test fails otherwise.
45
+
46
+ Note: "Preview" title is not applicable for GTK Look and Feel.""" ;
47
+
48
+ // In case this test is run with GTK L&F, the preview panel title
49
+ // is missing due to the "ColorChooser.showPreviewPanelText" property
50
+ // which is set to "Boolean.FALSE" for GTK L&F. Test instructions are
51
+ // modified to reflect that "Preview" title is not applicable for GTK L&F.
45
52
46
53
PassFailJFrame .builder ()
47
54
.title ("Test6977726" )
You can’t perform that action at this time.
0 commit comments