--- old/test/java/awt/Mixing/AWT_Mixing/MixingPanelsResizing.java 2014-05-28 18:46:30.740624295 +0400 +++ new/test/java/awt/Mixing/AWT_Mixing/MixingPanelsResizing.java 2014-05-28 18:46:30.604623300 +0400 @@ -26,6 +26,7 @@ import java.awt.event.InputEvent; import javax.swing.*; import java.io.*; +import test.java.awt.regtesthelpers.Util; /** * AWT/Swing overlapping test for Panel and JPanel behavior during resizing. @@ -36,6 +37,8 @@ @bug 6786219 @summary Issues when resizing the frame after mixing of heavy weight & light weight components @author sergey.grinev@oracle.com: area=awt.mixing +@library ../../regtesthelpers +@build Util @build FrameBorderCounter @run main MixingPanelsResizing */ @@ -365,7 +368,7 @@ public static void createDialogWithInstructions(String[] instructions) { dialog = new TestDialog(new Frame(), "Instructions"); dialog.printInstructions(instructions); - dialog.setVisible(true); + //dialog.setVisible(true); println("Any messages for the tester will display here."); } @@ -373,7 +376,7 @@ dialog = new TestDialog(new Frame(), "Instructions"); String[] defInstr = {"Instructions will appear here. ", ""}; dialog.printInstructions(defInstr); - dialog.setVisible(true); + //dialog.setVisible(true); println("Any messages for the tester will display here."); } @@ -413,7 +416,7 @@ pack(); - setVisible(true); + //setVisible(true); }// TestDialog() //DO NOT call this directly, go through Sysout