diff options
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-x | src/demos/es1/Info.java | 3 | ||||
-rwxr-xr-x | src/demos/es1/RedSquare.java | 3 | ||||
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 3 | ||||
-rw-r--r-- | src/demos/es1/cube/Cube.java | 3 | ||||
-rw-r--r-- | src/demos/es1/cube/CubeImmModeSink.java | 3 | ||||
-rwxr-xr-x | src/demos/es1/cubefbo/Main.java | 3 |
6 files changed, 12 insertions, 6 deletions
diff --git a/src/demos/es1/Info.java b/src/demos/es1/Info.java index 81d2f18..cc2fe86 100755 --- a/src/demos/es1/Info.java +++ b/src/demos/es1/Info.java @@ -26,7 +26,8 @@ public class Info implements GLEventListener { if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false); + nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java index 5bf3d60..e121cbd 100755 --- a/src/demos/es1/RedSquare.java +++ b/src/demos/es1/RedSquare.java @@ -119,7 +119,8 @@ public class RedSquare extends Thread implements WindowListener, KeyListener, Mo if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false); + nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index 7853ee3..93f54c7 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -64,7 +64,8 @@ public class Main implements WindowListener, MouseListener { if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false); + nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es1/cube/Cube.java b/src/demos/es1/cube/Cube.java index 4717b2d..430e475 100644 --- a/src/demos/es1/cube/Cube.java +++ b/src/demos/es1/cube/Cube.java @@ -329,7 +329,8 @@ public class Cube implements GLEventListener { if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false); + nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es1/cube/CubeImmModeSink.java b/src/demos/es1/cube/CubeImmModeSink.java index beda590..279a19b 100644 --- a/src/demos/es1/cube/CubeImmModeSink.java +++ b/src/demos/es1/cube/CubeImmModeSink.java @@ -394,7 +394,8 @@ public class CubeImmModeSink implements GLEventListener { if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false); + nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); diff --git a/src/demos/es1/cubefbo/Main.java b/src/demos/es1/cubefbo/Main.java index 7efec18..1ff9919 100755 --- a/src/demos/es1/cubefbo/Main.java +++ b/src/demos/es1/cubefbo/Main.java @@ -65,7 +65,8 @@ public class Main implements WindowListener, MouseListener { if(0!=(type&USE_AWT)) { Display nDisplay = NewtFactory.createDisplay(NativeWindowFactory.TYPE_AWT, null); // local display Screen nScreen = NewtFactory.createScreen(NativeWindowFactory.TYPE_AWT, nDisplay, 0); // screen 0 - nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps, false); + nWindow = NewtFactory.createWindow(NativeWindowFactory.TYPE_AWT, nScreen, caps); + nWindow.setUndecorated(false); window = GLWindow.create(nWindow); } else { window = GLWindow.create(caps); |