summaryrefslogtreecommitdiffstats
path: root/src/demos/newt/TaskManagerTest2.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/newt/TaskManagerTest2.java')
-rw-r--r--src/demos/newt/TaskManagerTest2.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/demos/newt/TaskManagerTest2.java b/src/demos/newt/TaskManagerTest2.java
index 2332451..ab6fd47 100644
--- a/src/demos/newt/TaskManagerTest2.java
+++ b/src/demos/newt/TaskManagerTest2.java
@@ -17,6 +17,12 @@ public class TaskManagerTest2 implements WindowListener, KeyListener, MouseList
public void windowMoved(WindowEvent e) {
System.err.println("windowMoved "+e);
}
+ public void windowGainedFocus(WindowEvent e) {
+ System.err.println("windowGainedFocus "+e);
+ }
+ public void windowLostFocus(WindowEvent e) {
+ System.err.println("windowLostFocus "+e);
+ }
public void windowDestroyNotify(WindowEvent e) {
System.err.println("windowDestroyNotify "+e);
// stop running ..
@@ -59,6 +65,9 @@ public class TaskManagerTest2 implements WindowListener, KeyListener, MouseList
public void mouseDragged(MouseEvent e) {
System.err.println("mouseDragged "+e);
}
+ public void mouseWheelMoved(MouseEvent e) {
+ System.err.println("mouseWheelMoved "+e);
+ }
private class RenderThread implements Runnable {
Window window;