diff options
Diffstat (limited to 'src/demos/GLNewtRun.java')
-rwxr-xr-x | src/demos/GLNewtRun.java | 10 |
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; } |