summaryrefslogtreecommitdiffstats
path: root/src/demos/newt/TaskManagerTest1.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/newt/TaskManagerTest1.java')
-rw-r--r--src/demos/newt/TaskManagerTest1.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/newt/TaskManagerTest1.java b/src/demos/newt/TaskManagerTest1.java
index 6a8f8e5..ff8ae00 100644
--- a/src/demos/newt/TaskManagerTest1.java
+++ b/src/demos/newt/TaskManagerTest1.java
@@ -97,7 +97,7 @@ public class TaskManagerTest1 implements WindowListener, KeyListener, MouseList
// do it ..
if(null!=display) {
- display.pumpMessages();
+ display.dispatchMessages();
}
} catch (Throwable t) {
// handle errors ..
@@ -145,7 +145,7 @@ public class TaskManagerTest1 implements WindowListener, KeyListener, MouseList
Screen screen = NewtFactory.createScreen(display, 0);
window = NewtFactory.createWindow(screen, caps);
window.setTitle("GlassPrism");
- window.setHandleDestroyNotify(false);
+ // window.setHandleDestroyNotify(false);
window.setUndecorated(false);
window.setSize(256, 256);
window.addKeyListener(this);