diff options
Diffstat (limited to 'src/demos/newt')
-rw-r--r-- | src/demos/newt/NEWTTest1.java | 2 | ||||
-rw-r--r-- | src/demos/newt/TaskManagerTest1.java | 2 | ||||
-rw-r--r-- | src/demos/newt/TaskManagerTest2.java | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/demos/newt/NEWTTest1.java b/src/demos/newt/NEWTTest1.java index ab8d577..1a2f757 100644 --- a/src/demos/newt/NEWTTest1.java +++ b/src/demos/newt/NEWTTest1.java @@ -88,7 +88,7 @@ public class NEWTTest1 implements WindowListener, KeyListener, MouseListener Screen screen = NewtFactory.createScreen(display, 0); Window window = NewtFactory.createWindow(screen, caps); window.setTitle("GlassPrism"); - window.setAutoDrawableClient(true); + window.setHandleDestroyNotify(false); window.setUndecorated(false); window.setSize(256, 256); window.addKeyListener(this); diff --git a/src/demos/newt/TaskManagerTest1.java b/src/demos/newt/TaskManagerTest1.java index 62f0a89..4fcc6a5 100644 --- a/src/demos/newt/TaskManagerTest1.java +++ b/src/demos/newt/TaskManagerTest1.java @@ -142,7 +142,7 @@ public class TaskManagerTest1 implements WindowListener, KeyListener, MouseList Screen screen = NewtFactory.createScreen(display, 0); window = NewtFactory.createWindow(screen, caps); window.setTitle("GlassPrism"); - window.setAutoDrawableClient(true); + window.setHandleDestroyNotify(false); window.setUndecorated(false); window.setSize(256, 256); window.addKeyListener(this); diff --git a/src/demos/newt/TaskManagerTest2.java b/src/demos/newt/TaskManagerTest2.java index 0b61342..93f61f1 100644 --- a/src/demos/newt/TaskManagerTest2.java +++ b/src/demos/newt/TaskManagerTest2.java @@ -112,7 +112,7 @@ public class TaskManagerTest2 implements WindowListener, KeyListener, MouseList Screen screen = NewtFactory.createScreen(display, 0); Window window = NewtFactory.createWindow(screen, caps); window.setTitle("GlassPrism"); - window.setAutoDrawableClient(true); + window.setHandleDestroyNotify(false); window.setUndecorated(false); window.setSize(256, 256); window.addKeyListener(this); |