summaryrefslogtreecommitdiffstats
path: root/src/demos/nurbs/curveapp
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/nurbs/curveapp')
-rwxr-xr-xsrc/demos/nurbs/curveapp/CurveApp.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demos/nurbs/curveapp/CurveApp.java b/src/demos/nurbs/curveapp/CurveApp.java
index ff70f68..e125f62 100755
--- a/src/demos/nurbs/curveapp/CurveApp.java
+++ b/src/demos/nurbs/curveapp/CurveApp.java
@@ -9,6 +9,7 @@ import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
+import javax.media.opengl.GLProfile;
import javax.media.opengl.GLCanvas;
import javax.swing.ButtonGroup;
import javax.swing.ImageIcon;
@@ -40,6 +41,9 @@ import demos.nurbs.knotslidercomponent.JKnotSlider;
@SuppressWarnings("serial")
public class CurveApp extends JFrame implements ActionListener
{
+ static {
+ GLProfile.initSingleton();
+ }
/**
* Name of X-coord editing component of actually selected control point