diff --git a/test/javax/swing/AncestorNotifier/7193219/bug7193219.java b/test/javax/swing/AncestorNotifier/7193219/bug7193219.java index 0db4839dc509fc29bfa9f2e3f9374f519d65b1b1..9fc6a7df6199124d2e3688290d20fafb50d8ac88 100644 --- a/test/javax/swing/AncestorNotifier/7193219/bug7193219.java +++ b/test/javax/swing/AncestorNotifier/7193219/bug7193219.java @@ -30,6 +30,7 @@ import java.io.*; import javax.swing.*; +import javax.swing.plaf.metal.*; public class bug7193219 { private static byte[] serializeGUI() { @@ -73,6 +74,7 @@ public class bug7193219 { } public static void main(String[] args) throws Exception { + UIManager.setLookAndFeel(new MetalLookAndFeel()); SwingUtilities.invokeAndWait(new Runnable() { @Override public void run() {