aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java')
-rw-r--r--src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java b/src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java
index 132a6e464..be5083851 100644
--- a/src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java
+++ b/src/test/com/jogamp/opengl/test/bugs/Bug735Inv3AppletAWT.java
@@ -3,7 +3,6 @@ package com.jogamp.opengl.test.bugs;
import java.applet.Applet;
import java.awt.BorderLayout;
import java.awt.Color;
-import java.awt.Dimension;
import java.awt.Frame;
import java.awt.GraphicsDevice;
import java.awt.GraphicsEnvironment;
@@ -80,9 +79,6 @@ public class Bug735Inv3AppletAWT extends Applet {
}
public void start() {
- if(waitForKey) {
- UITestCase.waitForKey("Start");
- }
initDraw();
animator.start();
}
@@ -148,6 +144,9 @@ public class Bug735Inv3AppletAWT extends Applet {
}
static public void main(String[] args) {
+ if(waitForKey) {
+ UITestCase.waitForKey("Start");
+ }
final GraphicsEnvironment environment =
GraphicsEnvironment.getLocalGraphicsEnvironment();
final GraphicsDevice displayDevice = environment.getDefaultScreenDevice();