From e228acfcf5be36fb161043bb2ae21f8d60bc6ca4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 16 Sep 2011 12:40:46 +0200 Subject: NEWT Cleanup: AWT driver fix, WindowImpl createNative .., minor edits AWT driver fix - setVisible at creation, using reconfigureWindow impl (fixed WindowImpl createNative .., - no double visibility check on creation - visible:=true anyway for later creation, if failed or not available yet --- .../opengl/test/junit/newt/TestFocus02SwingAWTRobot.java | 13 +------------ .../com/jogamp/opengl/test/junit/util/AWTRobotUtil.java | 1 - 2 files changed, 1 insertion(+), 13 deletions(-) (limited to 'src/test') diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestFocus02SwingAWTRobot.java b/src/test/com/jogamp/opengl/test/junit/newt/TestFocus02SwingAWTRobot.java index dd1827102..78f2f4574 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/TestFocus02SwingAWTRobot.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/TestFocus02SwingAWTRobot.java @@ -58,9 +58,7 @@ import com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2; public class TestFocus02SwingAWTRobot extends UITestCase { static int width, height; - static long durationPerTest = 800; static long awtWaitTimeout = 1000; - static long waitReparent = 0; static GLCapabilities glCaps; @BeforeClass @@ -161,7 +159,7 @@ public class TestFocus02SwingAWTRobot extends UITestCase { Assert.assertTrue(AWTRobotUtil.toFront(robot, jFrame1)); int wait=0; - while(wait