From b32c5de0d658a0e41eabe6590da20bc8300c0dae Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 3 Feb 2015 01:16:05 +0100 Subject: Bug 682 - Relocating javax.media.opengl.* -> com.jogamp.opengl.* (Part 1) --- src/demos/nurbs/surfaceapp/GLListener.java | 20 ++++++++++---------- src/demos/nurbs/surfaceapp/SurfaceApp.java | 2 +- src/demos/nurbs/surfaceapp/SurfaceMouseListener.java | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src/demos/nurbs/surfaceapp') 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ší) -- cgit v1.2.3