summaryrefslogtreecommitdiffstats
path: root/src/demos/GLNewtRun.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-07-16 04:04:37 +0200
committerSven Gothel <[email protected]>2010-07-16 04:04:37 +0200
commit8db35dabaef54b96eb90dde02cacebdeacd50126 (patch)
tree9d7ab9e46d375ca32008aa13341b1ef67638bf59 /src/demos/GLNewtRun.java
parent348c43a12199e71017767930b0b42d939db47312 (diff)
Fixes against JOGL a4b16ad544f3f7872f15e52d7ada7dc1e506d333
Diffstat (limited to 'src/demos/GLNewtRun.java')
-rwxr-xr-xsrc/demos/GLNewtRun.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/demos/GLNewtRun.java b/src/demos/GLNewtRun.java
index 72389e3..d3816cc 100755
--- a/src/demos/GLNewtRun.java
+++ b/src/demos/GLNewtRun.java
@@ -9,19 +9,11 @@ import com.jogamp.newt.*;
import com.jogamp.newt.event.*;
import com.jogamp.newt.opengl.*;
-public class GLNewtRun implements WindowListener, KeyListener, MouseListener {
+public class GLNewtRun extends WindowAdapter implements KeyListener, MouseListener {
static GLWindow window;
static volatile boolean quit = false;
- public void windowResized(WindowEvent e) { }
-
- public void windowMoved(WindowEvent e) { }
-
- public void windowGainedFocus(WindowEvent e) { }
-
- public void windowLostFocus(WindowEvent e) { }
-
public void windowDestroyNotify(WindowEvent e) {
quit = true;
}