8068292: [TEST_BUG] Test javax/swing/JLayer/6824395/bug6824395.java fails with -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Reviewed-by: alexsch, azvegint
Contributed-by: shobhit.s.gupta@oracle.com
--- a/jdk/test/javax/swing/JLayer/6824395/bug6824395.java Wed Jan 28 08:14:18 2015 -0800
+++ b/jdk/test/javax/swing/JLayer/6824395/bug6824395.java Thu Jan 29 14:03:23 2015 +0300
@@ -59,7 +59,7 @@
editorPaneLayer.setUI(layerUI);
scrollPane = new JScrollPane(editorPaneLayer);
-
+ scrollPane.setViewportBorder(null);
scrollPane.setPreferredSize(new Dimension(200, 250));
frame.add(scrollPane);