changeset 5615:2d482e463c7e

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 0dfac9343651
children 5d040a8be658 15e0b98fc0e9
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	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 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() {