changeset 5829:c99213bc620f

8003982: new test javax/swing/AncestorNotifier/7193219/bug7193219.java failed on macosx Reviewed-by: anthony, alexsch
author alexp
date Fri, 21 Dec 2012 18:59:10 +0400
parents 0079a2150886
children 1f0e52931b0f
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	Wed Dec 12 09:53:01 2012 -0800
+++ b/test/javax/swing/AncestorNotifier/7193219/bug7193219.java	Fri Dec 21 18:59:10 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() {