summaryrefslogtreecommitdiffstats
path: root/src/demos/nurbs
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/nurbs')
-rwxr-xr-xsrc/demos/nurbs/curveapp/CurveApp.java2
-rwxr-xr-xsrc/demos/nurbs/curveapp/GLListener.java16
-rwxr-xr-xsrc/demos/nurbs/surfaceapp/GLListener.java20
-rwxr-xr-xsrc/demos/nurbs/surfaceapp/SurfaceApp.java2
-rwxr-xr-xsrc/demos/nurbs/surfaceapp/SurfaceMouseListener.java4
5 files changed, 22 insertions, 22 deletions
diff --git a/src/demos/nurbs/curveapp/CurveApp.java b/src/demos/nurbs/curveapp/CurveApp.java
index 5834e88..764f129 100755
--- a/src/demos/nurbs/curveapp/CurveApp.java
+++ b/src/demos/nurbs/curveapp/CurveApp.java
@@ -9,7 +9,7 @@ import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
-import javax.media.opengl.awt.GLCanvas;
+import com.jogamp.opengl.awt.GLCanvas;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JFrame;
diff --git a/src/demos/nurbs/curveapp/GLListener.java b/src/demos/nurbs/curveapp/GLListener.java
index 473b4ed..ae8cb26 100755
--- a/src/demos/nurbs/curveapp/GLListener.java
+++ b/src/demos/nurbs/curveapp/GLListener.java
@@ -1,9 +1,9 @@
package demos.nurbs.curveapp;
-import javax.media.opengl.GL;
-import javax.media.opengl.GLAutoDrawable;
-import javax.media.opengl.GLEventListener;
-import javax.media.opengl.glu.*;
+import com.jogamp.opengl.GL;
+import com.jogamp.opengl.GLAutoDrawable;
+import com.jogamp.opengl.GLEventListener;
+import com.jogamp.opengl.glu.*;
import com.jogamp.opengl.util.GLUT;
@@ -41,7 +41,7 @@ public class GLListener implements GLEventListener {
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#init(javax.media.opengl.GLAutoDrawable)
+ * @see com.jogamp.opengl.GLEventListener#init(com.jogamp.opengl.GLAutoDrawable)
*/
public void init(GLAutoDrawable drawable) {
this.gl = drawable.getGL();
@@ -60,7 +60,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#display(javax.media.opengl.GLAutoDrawable)
+ * @see com.jogamp.opengl.GLEventListener#display(com.jogamp.opengl.GLAutoDrawable)
*/
public void display(GLAutoDrawable drawable) {
@@ -128,7 +128,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#reshape(javax.media.opengl.GLAutoDrawable, int, int, int, int)
+ * @see com.jogamp.opengl.GLEventListener#reshape(com.jogamp.opengl.GLAutoDrawable, int, int, int, int)
*/
public void reshape(GLAutoDrawable drawable, int x, int y, int width,
int height) {
@@ -141,7 +141,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#displayChanged(javax.media.opengl.GLAutoDrawable, boolean, boolean)
+ * @see com.jogamp.opengl.GLEventListener#displayChanged(com.jogamp.opengl.GLAutoDrawable, boolean, boolean)
*/
public void displayChanged(GLAutoDrawable arg0, boolean arg1, boolean arg2) {
}
diff --git a/src/demos/nurbs/surfaceapp/GLListener.java b/src/demos/nurbs/surfaceapp/GLListener.java
index 54e7c9d..d312db4 100755
--- a/src/demos/nurbs/surfaceapp/GLListener.java
+++ b/src/demos/nurbs/surfaceapp/GLListener.java
@@ -1,13 +1,13 @@
package demos.nurbs.surfaceapp;
-import javax.media.opengl.GL;
-import javax.media.opengl.GLAutoDrawable;
-import javax.media.opengl.GLEventListener;
-import javax.media.opengl.glu.*;
+import com.jogamp.opengl.GL;
+import com.jogamp.opengl.GLAutoDrawable;
+import com.jogamp.opengl.GLEventListener;
+import com.jogamp.opengl.glu.*;
import com.jogamp.opengl.util.glut.gl2.GLUTgl2;
-import javax.media.opengl.GL2ES1;
-import javax.media.opengl.GL2;
+import com.jogamp.opengl.GL2ES1;
+import com.jogamp.opengl.GL2;
/**
* Listener reacting to events occuring on OpenGL canvas
@@ -111,7 +111,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#init(javax.media.opengl.GLAutoDrawable)
+ * @see com.jogamp.opengl.GLEventListener#init(com.jogamp.opengl.GLAutoDrawable)
*/
public void init(GLAutoDrawable drawable) {
this.gl = drawable.getGL().getGL2();
@@ -136,7 +136,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#display(javax.media.opengl.GLAutoDrawable)
+ * @see com.jogamp.opengl.GLEventListener#display(com.jogamp.opengl.GLAutoDrawable)
*/
public void display(GLAutoDrawable drawable) {
@@ -287,7 +287,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#reshape(javax.media.opengl.GLAutoDrawable, int, int, int, int)
+ * @see com.jogamp.opengl.GLEventListener#reshape(com.jogamp.opengl.GLAutoDrawable, int, int, int, int)
*/
public void reshape(GLAutoDrawable drawable, int x, int y, int width,
int height) {
@@ -301,7 +301,7 @@ public class GLListener implements GLEventListener {
}
/* (non-Javadoc)
- * @see javax.media.opengl.GLEventListener#displayChanged(javax.media.opengl.GLAutoDrawable, boolean, boolean)
+ * @see com.jogamp.opengl.GLEventListener#displayChanged(com.jogamp.opengl.GLAutoDrawable, boolean, boolean)
*/
public void displayChanged(GLAutoDrawable arg0, boolean arg1, boolean arg2) {
}
diff --git a/src/demos/nurbs/surfaceapp/SurfaceApp.java b/src/demos/nurbs/surfaceapp/SurfaceApp.java
index 01b2012..25aeeeb 100755
--- a/src/demos/nurbs/surfaceapp/SurfaceApp.java
+++ b/src/demos/nurbs/surfaceapp/SurfaceApp.java
@@ -31,7 +31,7 @@ import javax.swing.ToolTipManager;
import demos.nurbs.icons.*;
import demos.nurbs.knotslidercomponent.JKnotSlider;
-import javax.media.opengl.awt.GLCanvas;
+import com.jogamp.opengl.awt.GLCanvas;
/**
* Main class for application demostrating capabilitues of JOGL library extend by NURBS surface functionalities
diff --git a/src/demos/nurbs/surfaceapp/SurfaceMouseListener.java b/src/demos/nurbs/surfaceapp/SurfaceMouseListener.java
index 834ae46..5e8da06 100755
--- a/src/demos/nurbs/surfaceapp/SurfaceMouseListener.java
+++ b/src/demos/nurbs/surfaceapp/SurfaceMouseListener.java
@@ -5,8 +5,8 @@ import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.util.Vector;
-import javax.media.opengl.GL;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.GL;
+import com.jogamp.opengl.glu.GLU;
/**
* Třída zpracovávající události myši (implementuje rozhraní zpracovávající stisk tlačítek i pohyb a tažení myší)