diff options
Diffstat (limited to 'src/demos/es1')
-rwxr-xr-x | src/demos/es1/RedSquare.java | 1 | ||||
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 1 |
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(); |