aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
index 03fe03929..d0d270e42 100644
--- a/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
+++ b/src/net/java/games/jogl/impl/windows/WindowsGLContextFactory.java
@@ -40,6 +40,7 @@
package net.java.games.jogl.impl.windows;
import java.awt.Component;
+import java.awt.Dialog;
import java.awt.EventQueue;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
@@ -98,7 +99,7 @@ public class WindowsGLContextFactory extends GLContextFactory {
if (!pendingContextSet.contains(device)) {
pendingContextSet.add(device);
GraphicsConfiguration config = device.getDefaultConfiguration();
- final Frame frame = new Frame(config);
+ final Dialog frame = new Dialog(new Frame(config), "", false, config);
frame.setUndecorated(true);
GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas(new GLCapabilities(),
null,