8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
authoralexp
Fri Dec 21 18:59:10 2012 +0400 (4 months ago)
changeset 56152d482e463c7e
parent 56140dfac9343651
child 56165d040a8be658
child 562015e0b98fc0e9
8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx
Reviewed-by: anthony, alexsch
test/javax/swing/AncestorNotifier/7193219/bug7193219.java
--- a/test/javax/swing/AncestorNotifier/7193219/bug7193219.java Thu Dec 20 18:22:30 2012 +0000
+++ b/test/javax/swing/AncestorNotifier/7193219/bug7193219.java Fri Dec 21 18:59:10 2012 +0400
@@ -30,6 +30,7 @@ import java.io.*;
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() {