summaryrefslogtreecommitdiffstats
path: root/src/redbook/src/glredbook11
diff options
context:
space:
mode:
Diffstat (limited to 'src/redbook/src/glredbook11')
-rw-r--r--src/redbook/src/glredbook11/README.txt2
-rw-r--r--src/redbook/src/glredbook11/aargb.java6
-rw-r--r--src/redbook/src/glredbook11/hello.java6
-rw-r--r--src/redbook/src/glredbook11/image.java6
-rw-r--r--src/redbook/src/glredbook11/polyoff.java6
-rw-r--r--src/redbook/src/glredbook11/tess.java10
-rw-r--r--src/redbook/src/glredbook11/tesswind.java10
-rw-r--r--src/redbook/src/glredbook11/texbind.java6
-rw-r--r--src/redbook/src/glredbook11/texgen.java4
-rw-r--r--src/redbook/src/glredbook11/texprox.java2
-rw-r--r--src/redbook/src/glredbook11/texsub.java6
-rw-r--r--src/redbook/src/glredbook11/torus.java6
-rw-r--r--src/redbook/src/glredbook11/unproject.java6
-rw-r--r--src/redbook/src/glredbook11/varray.java6
-rw-r--r--src/redbook/src/glredbook11/wrap.java6
15 files changed, 44 insertions, 44 deletions
diff --git a/src/redbook/src/glredbook11/README.txt b/src/redbook/src/glredbook11/README.txt
index 8225c0b..5d67114 100644
--- a/src/redbook/src/glredbook11/README.txt
+++ b/src/redbook/src/glredbook11/README.txt
@@ -4,7 +4,7 @@ These are port of the examples programs which are featured
in the OpenGL Programming Guide, 2nd Edition corresponding
to OpenGL version 1.1.
-- All examples requires JDK 1.4.2 and javax.media.opengl (jogl)
+- All examples requires JDK 1.4.2 and com.jogamp.opengl (jogl)
and a system dependent jogl-natives-*.jar to compile.
- No ant build file is yet available.
diff --git a/src/redbook/src/glredbook11/aargb.java b/src/redbook/src/glredbook11/aargb.java
index 71ae3b8..ee54edc 100644
--- a/src/redbook/src/glredbook11/aargb.java
+++ b/src/redbook/src/glredbook11/aargb.java
@@ -4,9 +4,9 @@ import glredbook10.GLSkeleton;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
-import javax.media.opengl.*;
- import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.*;
+ import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
import javax.swing.JFrame;
/**
diff --git a/src/redbook/src/glredbook11/hello.java b/src/redbook/src/glredbook11/hello.java
index f7ddfb1..de7cc6d 100644
--- a/src/redbook/src/glredbook11/hello.java
+++ b/src/redbook/src/glredbook11/hello.java
@@ -3,15 +3,15 @@ package glredbook11;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
-import javax.media.opengl.*;import javax.swing.JFrame;
+import com.jogamp.opengl.*;import javax.swing.JFrame;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
+import com.jogamp.opengl.awt.GLJPanel;
/**
* This is a simple, introductory OpenGL program in Java using the
- * javax.media.opengl extension library.
+ * com.jogamp.opengl extension library.
*
* @author Kiet Le (Java port) Ported to JOGL 2.x by Claudio Eduardo Goes
*/
diff --git a/src/redbook/src/glredbook11/image.java b/src/redbook/src/glredbook11/image.java
index 7c6d16b..dfddd4e 100644
--- a/src/redbook/src/glredbook11/image.java
+++ b/src/redbook/src/glredbook11/image.java
@@ -19,14 +19,14 @@ import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionListener;
import java.nio.ByteBuffer;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.opengl.util.GLBuffers;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
diff --git a/src/redbook/src/glredbook11/polyoff.java b/src/redbook/src/glredbook11/polyoff.java
index 4b192fd..d8f164f 100644
--- a/src/redbook/src/glredbook11/polyoff.java
+++ b/src/redbook/src/glredbook11/polyoff.java
@@ -5,13 +5,13 @@ import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.opengl.util.gl2.GLUT;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
* This program demonstrates polygon offset to draw a shaded polygon and its
diff --git a/src/redbook/src/glredbook11/tess.java b/src/redbook/src/glredbook11/tess.java
index e2610fd..f855952 100644
--- a/src/redbook/src/glredbook11/tess.java
+++ b/src/redbook/src/glredbook11/tess.java
@@ -3,15 +3,15 @@ package glredbook11;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
-import javax.media.opengl.glu.GLUtessellator;
-import javax.media.opengl.glu.GLUtessellatorCallback;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
+import com.jogamp.opengl.glu.GLUtessellator;
+import com.jogamp.opengl.glu.GLUtessellatorCallback;
/**
* This program demonstrates polygon tessellation. Two tesselated objects are
diff --git a/src/redbook/src/glredbook11/tesswind.java b/src/redbook/src/glredbook11/tesswind.java
index 548f519..e65e547 100644
--- a/src/redbook/src/glredbook11/tesswind.java
+++ b/src/redbook/src/glredbook11/tesswind.java
@@ -3,14 +3,14 @@ package glredbook11;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
-import javax.media.opengl.glu.GLUtessellator;
-import javax.media.opengl.glu.GLUtessellatorCallback;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
+import com.jogamp.opengl.glu.GLUtessellator;
+import com.jogamp.opengl.glu.GLUtessellatorCallback;
/**
* This program demonstrates the winding rule polygon tessellation property.
diff --git a/src/redbook/src/glredbook11/texbind.java b/src/redbook/src/glredbook11/texbind.java
index ba29968..7334a70 100644
--- a/src/redbook/src/glredbook11/texbind.java
+++ b/src/redbook/src/glredbook11/texbind.java
@@ -6,12 +6,12 @@ import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.nio.ByteBuffer;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.opengl.util.GLBuffers;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
* This program demonstrates using glBindTexture() by creating and managing two
diff --git a/src/redbook/src/glredbook11/texgen.java b/src/redbook/src/glredbook11/texgen.java
index c944454..66cfc44 100644
--- a/src/redbook/src/glredbook11/texgen.java
+++ b/src/redbook/src/glredbook11/texgen.java
@@ -6,13 +6,13 @@ import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.nio.ByteBuffer;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.common.nio.Buffers;
import com.jogamp.opengl.util.gl2.GLUT;
-import javax.media.opengl.awt.GLJPanel;
+import com.jogamp.opengl.awt.GLJPanel;
/**
* This program draws a texture mapped teapot with automatically generated
diff --git a/src/redbook/src/glredbook11/texprox.java b/src/redbook/src/glredbook11/texprox.java
index 2004645..db2fdbf 100644
--- a/src/redbook/src/glredbook11/texprox.java
+++ b/src/redbook/src/glredbook11/texprox.java
@@ -5,7 +5,7 @@ import glredbook10.GLSkeleton;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
-import javax.media.opengl.*; import javax.media.opengl.awt.GLJPanel;
+import com.jogamp.opengl.*; import com.jogamp.opengl.awt.GLJPanel;
import javax.swing.JFrame;
/**
diff --git a/src/redbook/src/glredbook11/texsub.java b/src/redbook/src/glredbook11/texsub.java
index 645745d..09f31b9 100644
--- a/src/redbook/src/glredbook11/texsub.java
+++ b/src/redbook/src/glredbook11/texsub.java
@@ -6,12 +6,12 @@ import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.nio.ByteBuffer;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.opengl.util.GLBuffers;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
* This program texture maps a checkerboard image onto two rectangles. This
diff --git a/src/redbook/src/glredbook11/torus.java b/src/redbook/src/glredbook11/torus.java
index 414d1f5..cf16c76 100644
--- a/src/redbook/src/glredbook11/torus.java
+++ b/src/redbook/src/glredbook11/torus.java
@@ -3,10 +3,10 @@ package glredbook11;
import glredbook10.GLSkeleton;
import javax.swing.*;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import java.awt.event.*;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
* This program demonstrates the creation of a display list.
diff --git a/src/redbook/src/glredbook11/unproject.java b/src/redbook/src/glredbook11/unproject.java
index 4f5514d..fcd7523 100644
--- a/src/redbook/src/glredbook11/unproject.java
+++ b/src/redbook/src/glredbook11/unproject.java
@@ -5,12 +5,12 @@ import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
diff --git a/src/redbook/src/glredbook11/varray.java b/src/redbook/src/glredbook11/varray.java
index d235296..d9abbbd 100644
--- a/src/redbook/src/glredbook11/varray.java
+++ b/src/redbook/src/glredbook11/varray.java
@@ -9,12 +9,12 @@ import java.awt.event.MouseListener;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.opengl.util.GLBuffers;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
* This program demonstrates vertex arrays.
diff --git a/src/redbook/src/glredbook11/wrap.java b/src/redbook/src/glredbook11/wrap.java
index 47662a4..c5ee211 100644
--- a/src/redbook/src/glredbook11/wrap.java
+++ b/src/redbook/src/glredbook11/wrap.java
@@ -4,14 +4,14 @@ import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.nio.ByteBuffer;
-import javax.media.opengl.*;
+import com.jogamp.opengl.*;
import javax.swing.JFrame;
import com.jogamp.opengl.util.GLBuffers;
import glredbook10.GLSkeleton;
-import javax.media.opengl.awt.GLJPanel;
-import javax.media.opengl.glu.GLU;
+import com.jogamp.opengl.awt.GLJPanel;
+import com.jogamp.opengl.glu.GLU;
/**
* This program texture maps a checkerboard image onto two rectangles. This