summaryrefslogtreecommitdiffstats
path: root/src/demos/es2
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/es2
parent3f92d13a9f886b044f8f1c49ff22476e30ba408d (diff)
Add NEWT WindowListener.windowDestroyed() e7778124162aef7004e040dded5de1eaf5e1ece4
Diffstat (limited to 'src/demos/es2')
-rwxr-xr-xsrc/demos/es2/RedSquare.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/demos/es2/RedSquare.java b/src/demos/es2/RedSquare.java
index 54c44eb..1d0bcad 100755
--- a/src/demos/es2/RedSquare.java
+++ b/src/demos/es2/RedSquare.java
@@ -32,19 +32,17 @@ 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 windowGainedFocus(WindowEvent e) { }
-
public void windowLostFocus(WindowEvent e) { }
-
public void windowDestroyNotify(WindowEvent e) {
System.out.println("WINDOW-DESTROY NOTIFY "+Thread.currentThread()+" QUIT "+e);
quit = true;
}
+ public void windowDestroyed(WindowEvent e) {
+ System.out.println("WINDOW-DESTROYED "+Thread.currentThread());
+ }
public void keyPressed(KeyEvent e) {
System.out.println("KEY-PRESSED "+Thread.currentThread()+" UNHANDLED "+e);