summaryrefslogtreecommitdiffstats
path: root/src/demos/es1
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2008-06-01 10:34:11 +0000
committerSven Gothel <[email protected]>2008-06-01 10:34:11 +0000
commit274786395d995674eb4b776451795e045ba714dc (patch)
tree26847e4c190dcf019e7cb0f082ac01c343492dcf /src/demos/es1
parent6c1d038a17057507a027abd47a869552d1c0b156 (diff)
wip ..
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@240 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-xsrc/demos/es1/RedSquare.java1
-rwxr-xr-xsrc/demos/es1/angeles/Main.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index aa97edf..913a099 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -55,6 +55,7 @@ public class RedSquare implements MouseListener {
caps.setBlueBits(5);
caps.setDepthBits(16);
GLDrawable drawable = factory.createGLDrawable(window, caps, null);
+ window.setVisible(true);
drawable.setRealized(true);
GLContext context = drawable.createContext(null);
context.makeCurrent();
diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java
index fc408cc..a79139d 100755
--- a/src/demos/es1/angeles/Main.java
+++ b/src/demos/es1/angeles/Main.java
@@ -52,6 +52,7 @@ public class Main implements MouseListener {
caps.setBlueBits(5);
caps.setDepthBits(16);
GLDrawable drawable = factory.createGLDrawable(window, caps, null);
+ window.setVisible(true);
drawable.setRealized(true);
GLContext context = drawable.createContext(null);
context.makeCurrent();