summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-23 07:15:40 +0100
committerSven Gothel <[email protected]>2010-12-23 07:15:40 +0100
commite35038cc3c01b6ad8beb559986102c68fde614b6 (patch)
treeeba219736825127a241ac6ef16659f61b32ebe02 /src/demos/es1/RedSquare.java
parent3f92d13a9f886b044f8f1c49ff22476e30ba408d (diff)
Add NEWT WindowListener.windowDestroyed() e7778124162aef7004e040dded5de1eaf5e1ece4
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) { }