summaryrefslogtreecommitdiffstats
path: root/src/demos/newt
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/newt')
-rw-r--r--src/demos/newt/NEWTTest1.java3
-rw-r--r--src/demos/newt/TaskManagerTest1.java3
-rw-r--r--src/demos/newt/TaskManagerTest2.java3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/demos/newt/NEWTTest1.java b/src/demos/newt/NEWTTest1.java
index 23bc914..3bcd260 100644
--- a/src/demos/newt/NEWTTest1.java
+++ b/src/demos/newt/NEWTTest1.java
@@ -37,6 +37,9 @@ public class NEWTTest1 implements WindowListener, KeyListener, MouseListener
// stop running ..
running = false;
}
+ public void windowDestroyed(WindowEvent e) {
+ System.err.println("windowDestroyed "+e);
+ }
boolean running = true;
public void keyPressed(KeyEvent e) {
diff --git a/src/demos/newt/TaskManagerTest1.java b/src/demos/newt/TaskManagerTest1.java
index ff8ae00..cc71f63 100644
--- a/src/demos/newt/TaskManagerTest1.java
+++ b/src/demos/newt/TaskManagerTest1.java
@@ -51,6 +51,9 @@ public class TaskManagerTest1 implements WindowListener, KeyListener, MouseList
eventMgr.stop();
System.err.println("Window Event Listener DestroyNotify send stop request - DONE");
}
+ public void windowDestroyed(WindowEvent e) {
+ System.err.println("windowDestroyed "+e);
+ }
public void keyPressed(KeyEvent e) {
System.err.println("keyPressed "+e);
}
diff --git a/src/demos/newt/TaskManagerTest2.java b/src/demos/newt/TaskManagerTest2.java
index 03fff2d..19a01e3 100644
--- a/src/demos/newt/TaskManagerTest2.java
+++ b/src/demos/newt/TaskManagerTest2.java
@@ -34,6 +34,9 @@ public class TaskManagerTest2 implements WindowListener, KeyListener, MouseList
TaskToolWM.unregisterWindowEvent((Window)e.getSource());
System.err.println("Window Event Listener DestroyNotify send stop request - DONE");
}
+ public void windowDestroyed(WindowEvent e) {
+ System.err.println("windowDestroyed "+e);
+ }
public void keyPressed(KeyEvent e) {
System.err.println("keyPressed "+e);