8068292: [TEST_BUG] Test javax/swing/JLayer/6824395/bug6824395.java fails with -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
authorkshefov
Thu, 29 Jan 2015 14:03:23 +0300
changeset 29001 36724c2ba47a
parent 29000 884fc5070548
child 29002 613ae4804312
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
jdk/test/javax/swing/JLayer/6824395/bug6824395.java
--- 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);