changeset 6997:7082a96c02d2

8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx Reviewed-by: anthony, alexsch
author alexp
date Fri, 21 Dec 2012 19:11:50 +0400
parents 90ad9e922042
children 14269f504837
files test/javax/swing/AncestorNotifier/7193219/bug7193219.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/swing/AncestorNotifier/7193219/bug7193219.java	Tue Dec 18 16:14:59 2012 -0800
+++ b/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() {