diff options
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-x | src/demos/es1/RedSquare.java | 6 | ||||
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 1 | ||||
-rwxr-xr-x | src/demos/es1/cubefbo/Main.java | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java index a0faf9b..1049ee7 100755 --- a/src/demos/es1/RedSquare.java +++ b/src/demos/es1/RedSquare.java @@ -40,13 +40,10 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo public void windowRepaint(WindowUpdateEvent e) { } - public void windowResized(WindowEvent e) { } - public void windowMoved(WindowEvent e) { } - public void windowDestroyNotify(WindowEvent e) { System.out.println("WINDOW-DESTROY NOTIFY "+Thread.currentThread()+" QUIT "+e); quit=true; @@ -54,6 +51,9 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo glAnimator.stop(); } } + public void windowDestroyed(WindowEvent e) { + System.out.println("WINDOW-DESTROYED "+Thread.currentThread()); + } public void windowGainedFocus(WindowEvent e) { } public void windowLostFocus(WindowEvent e) { } diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index 495ecc1..743f961 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -19,6 +19,7 @@ public class Main implements WindowListener, MouseListener { public void windowDestroyNotify(WindowEvent e) { quit = true; } + public void windowDestroyed(WindowEvent e) { } public void mouseClicked(MouseEvent e) { if (e.getClickCount() > 1) { diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java index 55261fd..cd26556 100755 --- a/src/demos/es1/cubefbo/Main.java +++ b/src/demos/es1/cubefbo/Main.java @@ -19,6 +19,7 @@ public class Main implements WindowListener, MouseListener { public void windowDestroyNotify(WindowEvent e) { quit = true; } + public void windowDestroyed(WindowEvent e) { } public void mouseClicked(MouseEvent e) { System.out.println("mouseevent: "+e); |