8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
authoralexp
Fri, 21 Dec 2012 19:11:50 +0400
changeset 14891 9d205107de0b
parent 14890 89beadf2a85e
child 14892 d1c51f8ada7e
8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx Reviewed-by: anthony, alexsch
jdk/test/javax/swing/AncestorNotifier/7193219/bug7193219.java
--- a/jdk/test/javax/swing/AncestorNotifier/7193219/bug7193219.java	Tue Dec 18 16:14:59 2012 -0800
+++ b/jdk/test/javax/swing/AncestorNotifier/7193219/bug7193219.java	Fri Dec 21 19:11:50 2012 +0400
@@ -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 static void main(String[] args) throws Exception {
+        UIManager.setLookAndFeel(new MetalLookAndFeel());
         SwingUtilities.invokeAndWait(new Runnable() {
             @Override
             public void run() {