summaryrefslogtreecommitdiffstats
path: root/src/demos/es1/RedSquare.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/es1/RedSquare.java')
-rwxr-xr-xsrc/demos/es1/RedSquare.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java
index 187a5af..02e8454 100755
--- a/src/demos/es1/RedSquare.java
+++ b/src/demos/es1/RedSquare.java
@@ -14,13 +14,17 @@ import com.sun.javafx.newt.opengl.*;
public class RedSquare extends Thread implements WindowListener, KeyListener, MouseListener, GLEventListener {
- private GLWindow window;
+ public GLWindow window;
private GLProfile glp;
private GLU glu;
private boolean quit = false;
private String glprofile;
private int type;
+ public RedSquare() {
+ this(null, USE_NEWT);
+ }
+
public RedSquare(String glprofile, int type) {
super();
this.glprofile=glprofile;