summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-xsrc/demos/es1/RedSquare.java6
1 files changed, 3 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) { }