8236635: JTabbedPane preferred size calculation is wrong for SCROLL_TAB_LAYOUT
Reviewed-by: serb, pbansal
diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt
index fb7ed35..8495e89 100644
--- a/test/jdk/ProblemList.txt
+++ b/test/jdk/ProblemList.txt
@@ -825,7 +825,6 @@
javax/swing/JCheckBox/8032667/bug8032667_image_diff.java 8199063 macosx-all
javax/swing/JComboBox/7031551/bug7031551.java 8199056 generic-all
javax/swing/JScrollBar/6924059/bug6924059.java 8199078 generic-all
-javax/swing/JTabbedPane/TabProb.java 8236635 linux-all
javax/swing/JTree/8003830/bug8003830.java 8199057 generic-all
javax/swing/plaf/nimbus/ColorCustomizationTest.java 8199080 generic-all
javax/swing/SwingWorker/6432565/bug6432565.java 8199077 generic-all
diff --git a/test/jdk/javax/swing/JTabbedPane/TabProb.java b/test/jdk/javax/swing/JTabbedPane/TabProb.java
index 1ea6d26..9860f09 100644
--- a/test/jdk/javax/swing/JTabbedPane/TabProb.java
+++ b/test/jdk/javax/swing/JTabbedPane/TabProb.java
@@ -82,6 +82,7 @@
panel.add(label);
tabpanel.add("TEST", panel);
add(tabpanel, BorderLayout.CENTER);
+ setUndecorated(true);
setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
}