diff options
author | Kenneth Russel <[email protected]> | 2005-08-30 08:25:24 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2005-08-30 08:25:24 +0000 |
commit | 434fb13fc6570086f095646f6ea5739d9c362d7c (patch) | |
tree | 6b0d16ce6f683ebe59c066803337342d2d3e08f4 /src | |
parent | 0a1fd96a6f3873e41dcced1c69dafd30bea3fc39 (diff) |
Renamed all files to intended destination packages for JSR-231. The
only package specified by the JSR is "javax.media.opengl". The utility
package com.sun.opengl.utils is Sun-specific and optional. The Cg
binding has been moved into com.sun.opengl.cg. Moved Animator and
FPSAnimator to com.sun.opengl.utils. Updated and tested demos with new
source code locations.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JSR-231@118 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
49 files changed, 112 insertions, 64 deletions
diff --git a/src/demos/cg/runtime_ogl/cgGL_vertex_example.java b/src/demos/cg/runtime_ogl/cgGL_vertex_example.java index 5e805e1..acb4f0d 100644 --- a/src/demos/cg/runtime_ogl/cgGL_vertex_example.java +++ b/src/demos/cg/runtime_ogl/cgGL_vertex_example.java @@ -33,8 +33,9 @@ package demos.cg.runtime_ogl; -import net.java.games.cg.*; -import net.java.games.jogl.*; +import com.sun.opengl.cg.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import java.awt.*; import java.awt.event.*; diff --git a/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java b/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java index 4ecb5db..ff168a5 100644 --- a/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java +++ b/src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java @@ -33,9 +33,10 @@ package demos.cg.runtime_ogl_vertex_fragment; -import net.java.games.cg.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import com.sun.opengl.cg.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import java.awt.*; import java.awt.event.*; diff --git a/src/demos/context/DualContext.java b/src/demos/context/DualContext.java index afeda0a..927b60c 100755 --- a/src/demos/context/DualContext.java +++ b/src/demos/context/DualContext.java @@ -43,8 +43,9 @@ import java.awt.*; import java.awt.event.*; import javax.swing.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; /** This demo illustrates the use of the GLDrawable and GLContext APIs to create two OpenGL contexts for the same Canvas. The red and diff --git a/src/demos/fullscreen/FullscreenWorkaround.java b/src/demos/fullscreen/FullscreenWorkaround.java index f76e710..4327346 100755 --- a/src/demos/fullscreen/FullscreenWorkaround.java +++ b/src/demos/fullscreen/FullscreenWorkaround.java @@ -42,7 +42,8 @@ package demos.fullscreen; import java.awt.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** Class which implements workaround for full-screen bugs on Windows when <code>-Dsun.java2d.noddraw=true</code> is specified as well diff --git a/src/demos/fullscreen/GearsFullscreen.java b/src/demos/fullscreen/GearsFullscreen.java index 71a2a84..c0a1345 100755 --- a/src/demos/fullscreen/GearsFullscreen.java +++ b/src/demos/fullscreen/GearsFullscreen.java @@ -3,7 +3,8 @@ package demos.fullscreen; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.gears.Gears; import demos.util.*; diff --git a/src/demos/fullscreen/GearsFullscreen2.java b/src/demos/fullscreen/GearsFullscreen2.java index ff02df2..1a5086c 100755 --- a/src/demos/fullscreen/GearsFullscreen2.java +++ b/src/demos/fullscreen/GearsFullscreen2.java @@ -4,7 +4,8 @@ import java.awt.*; import java.awt.event.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.gears.Gears; import demos.util.*; diff --git a/src/demos/fullscreen/JGearsFullscreen.java b/src/demos/fullscreen/JGearsFullscreen.java index 759c50f..68a0bce 100755 --- a/src/demos/fullscreen/JGearsFullscreen.java +++ b/src/demos/fullscreen/JGearsFullscreen.java @@ -4,7 +4,8 @@ import java.awt.*; import java.awt.event.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.jgears.JGears; import demos.util.*; diff --git a/src/demos/gears/Gears.java b/src/demos/gears/Gears.java index 9fd2dc1..55bbe15 100644 --- a/src/demos/gears/Gears.java +++ b/src/demos/gears/Gears.java @@ -3,7 +3,8 @@ package demos.gears; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** * Gears.java <BR> diff --git a/src/demos/hdr/ARBFPPipeline.java b/src/demos/hdr/ARBFPPipeline.java index d7a13be..0cc51f8 100755 --- a/src/demos/hdr/ARBFPPipeline.java +++ b/src/demos/hdr/ARBFPPipeline.java @@ -3,7 +3,8 @@ package demos.hdr; import java.io.*; import java.util.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.util.*; public class ARBFPPipeline implements Pipeline { diff --git a/src/demos/hdr/CgPipeline.java b/src/demos/hdr/CgPipeline.java index 5956967..9a2bd0b 100755 --- a/src/demos/hdr/CgPipeline.java +++ b/src/demos/hdr/CgPipeline.java @@ -3,8 +3,9 @@ package demos.hdr; import java.io.*; import java.util.*; -import net.java.games.jogl.*; -import net.java.games.cg.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.cg.*; import demos.util.*; public class CgPipeline implements Pipeline { diff --git a/src/demos/hdr/HDR.java b/src/demos/hdr/HDR.java index fe70b5b..e86218c 100755 --- a/src/demos/hdr/HDR.java +++ b/src/demos/hdr/HDR.java @@ -7,9 +7,10 @@ import java.nio.*; import java.util.*; import javax.swing.*; -import net.java.games.jogl.*; -import net.java.games.cg.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.cg.*; +import com.sun.opengl.utils.*; import demos.util.*; import gleem.*; import gleem.linalg.*; diff --git a/src/demos/hdr/HDRTexture.java b/src/demos/hdr/HDRTexture.java index 9112131..1a39cbf 100755 --- a/src/demos/hdr/HDRTexture.java +++ b/src/demos/hdr/HDRTexture.java @@ -3,7 +3,8 @@ package demos.hdr; import java.io.*; import java.nio.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; public class HDRTexture { private RGBE.Header header; diff --git a/src/demos/hdr/Pipeline.java b/src/demos/hdr/Pipeline.java index 822c3fb..f79b28d 100755 --- a/src/demos/hdr/Pipeline.java +++ b/src/demos/hdr/Pipeline.java @@ -3,8 +3,9 @@ package demos.hdr; import java.io.*; import java.util.*; -import net.java.games.jogl.*; -import net.java.games.cg.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.cg.*; import demos.util.*; public interface Pipeline { diff --git a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java index aba8d95..3bd6ec3 100644 --- a/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java +++ b/src/demos/hwShadowmapsSimple/HWShadowmapsSimple.java @@ -42,8 +42,9 @@ import java.util.*; import javax.imageio.*; import javax.swing.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import demos.util.*; import gleem.*; import gleem.linalg.*; diff --git a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java index cb913b9..eb90430 100644 --- a/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java +++ b/src/demos/infiniteShadowVolumes/InfiniteShadowVolumes.java @@ -42,8 +42,9 @@ import java.util.*; import javax.imageio.*; import javax.imageio.stream.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import demos.util.*; import gleem.*; import gleem.linalg.*; diff --git a/src/demos/jgears/JGears.java b/src/demos/jgears/JGears.java index 059b2ea..438789e 100644 --- a/src/demos/jgears/JGears.java +++ b/src/demos/jgears/JGears.java @@ -9,7 +9,8 @@ import java.text.*; import javax.imageio.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.gears.Gears; /** diff --git a/src/demos/jrefract/JRefract.java b/src/demos/jrefract/JRefract.java index 245ffaf..d6c3e04 100755 --- a/src/demos/jrefract/JRefract.java +++ b/src/demos/jrefract/JRefract.java @@ -39,8 +39,9 @@ import java.util.*; import javax.swing.*; import javax.swing.event.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import demos.hdr.HDR; import demos.hwShadowmapsSimple.HWShadowmapsSimple; import demos.infiniteShadowVolumes.InfiniteShadowVolumes; diff --git a/src/demos/multisample/Multisample.java b/src/demos/multisample/Multisample.java index 6dd00d3..693e1a7 100755 --- a/src/demos/multisample/Multisample.java +++ b/src/demos/multisample/Multisample.java @@ -41,7 +41,8 @@ package demos.multisample; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; public class Multisample { private GLCanvas canvas; diff --git a/src/demos/printext/PrintExt.java b/src/demos/printext/PrintExt.java index ebc9551..4d21ee9 100755 --- a/src/demos/printext/PrintExt.java +++ b/src/demos/printext/PrintExt.java @@ -6,7 +6,8 @@ package demos.printext; import java.awt.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; public class PrintExt { public static void main(String[] args) { diff --git a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java index f3ca4df..17084a6 100644 --- a/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java +++ b/src/demos/proceduralTexturePhysics/ProceduralTexturePhysics.java @@ -37,7 +37,8 @@ import java.awt.*; import java.awt.event.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.util.*; import gleem.*; import gleem.linalg.*; diff --git a/src/demos/proceduralTexturePhysics/Water.java b/src/demos/proceduralTexturePhysics/Water.java index 7113161..68c6c93 100644 --- a/src/demos/proceduralTexturePhysics/Water.java +++ b/src/demos/proceduralTexturePhysics/Water.java @@ -41,7 +41,8 @@ import java.text.*; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.util.*; /** diff --git a/src/demos/tess/Tess.java b/src/demos/tess/Tess.java index 3bd02b5..4f3b152 100644 --- a/src/demos/tess/Tess.java +++ b/src/demos/tess/Tess.java @@ -58,7 +58,8 @@ package demos.tess; * @author Ported by Nathan Parker Burg, July 2003 */ -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import java.awt.*; import java.awt.event.WindowAdapter; @@ -193,7 +194,7 @@ public class Tess { }//end TessRenderer - public static class TessCallback extends net.java.games.jogl.GLUtesselatorCallbackAdapter { + public static class TessCallback extends javax.media.opengl.GLUtesselatorCallbackAdapter { GL gl; GLU glu; diff --git a/src/demos/testContextDestruction/TestContextDestruction.java b/src/demos/testContextDestruction/TestContextDestruction.java index fea89da..86652bb 100755 --- a/src/demos/testContextDestruction/TestContextDestruction.java +++ b/src/demos/testContextDestruction/TestContextDestruction.java @@ -44,7 +44,8 @@ import java.awt.event.*; import java.util.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A simple demonstration exercising context creation and destruction as a GLCanvas is added to and removed from its parent container. */ diff --git a/src/demos/testContextSharing/TestContextSharing.java b/src/demos/testContextSharing/TestContextSharing.java index 9d23f12..c6d7552 100644 --- a/src/demos/testContextSharing/TestContextSharing.java +++ b/src/demos/testContextSharing/TestContextSharing.java @@ -42,7 +42,8 @@ package demos.testContextSharing; import java.awt.*; import java.util.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A simple demonstration of sharing of display lists between drawables. */ diff --git a/src/demos/util/Bunny.java b/src/demos/util/Bunny.java index fece8da..50033b2 100644 --- a/src/demos/util/Bunny.java +++ b/src/demos/util/Bunny.java @@ -41,7 +41,8 @@ package demos.util; import java.io.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** Renders a bunny. diff --git a/src/demos/util/ObjReader.java b/src/demos/util/ObjReader.java index 6638b61..1204ed5 100644 --- a/src/demos/util/ObjReader.java +++ b/src/demos/util/ObjReader.java @@ -43,7 +43,7 @@ import java.io.*; import java.nio.*; import java.util.*; -import net.java.games.jogl.util.*; +import com.sun.opengl.utils.*; /** Simple parser for Wavefront .OBJ files. Does not support all file options -- currently requires vertices and normals (only) to be diff --git a/src/demos/util/SGIImage.java b/src/demos/util/SGIImage.java index bf0dda9..df36e70 100644 --- a/src/demos/util/SGIImage.java +++ b/src/demos/util/SGIImage.java @@ -5,7 +5,8 @@ package demos.util; import java.io.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; // Test harness import java.awt.image.*; diff --git a/src/demos/util/TGAImage.java b/src/demos/util/TGAImage.java index 24403eb..c999c99 100644 --- a/src/demos/util/TGAImage.java +++ b/src/demos/util/TGAImage.java @@ -40,7 +40,8 @@ package demos.util; import java.io.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** * Targa image reader adapted from sources of the <a href = diff --git a/src/demos/util/Triceratops.java b/src/demos/util/Triceratops.java index e013f79..6256a0c 100644 --- a/src/demos/util/Triceratops.java +++ b/src/demos/util/Triceratops.java @@ -41,7 +41,8 @@ package demos.util; import java.io.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** Renders a triceratops. <P> diff --git a/src/demos/vertexArrayRange/VertexArrayRange.java b/src/demos/vertexArrayRange/VertexArrayRange.java index 5b92d0a..26d5512 100644 --- a/src/demos/vertexArrayRange/VertexArrayRange.java +++ b/src/demos/vertexArrayRange/VertexArrayRange.java @@ -39,8 +39,9 @@ import java.nio.*; import java.util.*; import javax.swing.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import demos.util.*; /** <P> A port of NVidia's [tm] Vertex Array Range demonstration to diff --git a/src/demos/vertexBufferObject/VertexBufferObject.java b/src/demos/vertexBufferObject/VertexBufferObject.java index d06994e..0c33fa1 100644 --- a/src/demos/vertexBufferObject/VertexBufferObject.java +++ b/src/demos/vertexBufferObject/VertexBufferObject.java @@ -39,8 +39,9 @@ import java.nio.*; import java.util.*; import javax.swing.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import demos.util.*; /** <P> A port of NVidia's [tm] Vertex Array Range demonstration to diff --git a/src/demos/vertexProgRefract/VertexProgRefract.java b/src/demos/vertexProgRefract/VertexProgRefract.java index 53b0bb5..3bfd606 100644 --- a/src/demos/vertexProgRefract/VertexProgRefract.java +++ b/src/demos/vertexProgRefract/VertexProgRefract.java @@ -43,8 +43,9 @@ import javax.imageio.*; import javax.imageio.stream.*; import javax.swing.*; -import net.java.games.jogl.*; -import net.java.games.jogl.util.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; +import com.sun.opengl.utils.*; import demos.util.*; import gleem.*; import gleem.linalg.*; diff --git a/src/demos/vertexProgWarp/VertexProgWarp.java b/src/demos/vertexProgWarp/VertexProgWarp.java index 462396c..c6e177a 100644 --- a/src/demos/vertexProgWarp/VertexProgWarp.java +++ b/src/demos/vertexProgWarp/VertexProgWarp.java @@ -40,7 +40,8 @@ import java.nio.*; import java.util.*; import javax.swing.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import demos.util.*; import gleem.*; import gleem.linalg.*; diff --git a/src/gleem/ExaminerViewer.java b/src/gleem/ExaminerViewer.java index 44e3f06..61976b1 100644 --- a/src/gleem/ExaminerViewer.java +++ b/src/gleem/ExaminerViewer.java @@ -44,7 +44,8 @@ import java.awt.event.*; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** <P> This is an application-level class, not part of the manipulator hierarchy. It is an example of how you might integrate diff --git a/src/gleem/HandleBoxManip.java b/src/gleem/HandleBoxManip.java index bedde65..73256c0 100644 --- a/src/gleem/HandleBoxManip.java +++ b/src/gleem/HandleBoxManip.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** Patterned after Inventor's HandleBoxManip (by Paul Isaacs and David Mott) and TransformerManip (by Paul Isaacs). Center box diff --git a/src/gleem/Manip.java b/src/gleem/Manip.java index b037430..919b805 100644 --- a/src/gleem/Manip.java +++ b/src/gleem/Manip.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** The base class for all manipulators. Fundamentally a manipulator must support a ray cast operation with itself and logic to diff --git a/src/gleem/ManipManager.java b/src/gleem/ManipManager.java index 5e0ae05..767c8cd 100644 --- a/src/gleem/ManipManager.java +++ b/src/gleem/ManipManager.java @@ -44,7 +44,8 @@ import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** The ManipManager handles making manipulators visible in a window. */ diff --git a/src/gleem/ManipPart.java b/src/gleem/ManipPart.java index 50fbe61..83f21cf 100644 --- a/src/gleem/ManipPart.java +++ b/src/gleem/ManipPart.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A ManipPart is a visible or invisible sub-part of a manipulator. ManipParts are organized into trees. */ diff --git a/src/gleem/ManipPartGroup.java b/src/gleem/ManipPartGroup.java index 859a8a3..97a31ec 100644 --- a/src/gleem/ManipPartGroup.java +++ b/src/gleem/ManipPartGroup.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** This class groups a set of ManipParts. Makes a set of ManipParts look like one. */ diff --git a/src/gleem/ManipPartLineSeg.java b/src/gleem/ManipPartLineSeg.java index 8278533..ea34b5c 100644 --- a/src/gleem/ManipPartLineSeg.java +++ b/src/gleem/ManipPartLineSeg.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A line segment from (-1, 0, 0) to (1, 0, 0). */ diff --git a/src/gleem/ManipPartTriBased.java b/src/gleem/ManipPartTriBased.java index 97f8ae3..208c8ea 100644 --- a/src/gleem/ManipPartTriBased.java +++ b/src/gleem/ManipPartTriBased.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** Triangle-based manipulator part. This is the base class for most of the ManipParts that GLEEM uses internally. You can feel free to diff --git a/src/gleem/TestExaminerViewer.java b/src/gleem/TestExaminerViewer.java index d793846..0c748da 100644 --- a/src/gleem/TestExaminerViewer.java +++ b/src/gleem/TestExaminerViewer.java @@ -41,7 +41,8 @@ package gleem; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import gleem.linalg.*; /** Tests the Examiner Viewer. */ diff --git a/src/gleem/TestHandleBox.java b/src/gleem/TestHandleBox.java index e47c1ab..1bb4b8b 100644 --- a/src/gleem/TestHandleBox.java +++ b/src/gleem/TestHandleBox.java @@ -41,7 +41,8 @@ package gleem; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import gleem.linalg.*; /** Tests the HandleBox Manip. */ diff --git a/src/gleem/TestMultiWin.java b/src/gleem/TestMultiWin.java index 7a9fe14..d61d0c2 100644 --- a/src/gleem/TestMultiWin.java +++ b/src/gleem/TestMultiWin.java @@ -41,7 +41,8 @@ package gleem; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import gleem.linalg.*; /** Tests viewing manipulators in multiple winodws. */ diff --git a/src/gleem/TestTranslate1.java b/src/gleem/TestTranslate1.java index 086e3a7..679a672 100644 --- a/src/gleem/TestTranslate1.java +++ b/src/gleem/TestTranslate1.java @@ -41,7 +41,8 @@ package gleem; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import gleem.linalg.*; /** Tests the Translate1 Manip. */ diff --git a/src/gleem/TestTranslate2.java b/src/gleem/TestTranslate2.java index 70a0041..ca17d1c 100644 --- a/src/gleem/TestTranslate2.java +++ b/src/gleem/TestTranslate2.java @@ -41,7 +41,8 @@ package gleem; import java.awt.*; import java.awt.event.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; import gleem.linalg.*; /** Tests the Translate2 Manip. */ diff --git a/src/gleem/Translate1Manip.java b/src/gleem/Translate1Manip.java index 541173f..49c4087 100644 --- a/src/gleem/Translate1Manip.java +++ b/src/gleem/Translate1Manip.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A Translate1Manip is a Manip which translates in only one dimension and whose default representation is a two-way arrow. */ diff --git a/src/gleem/Translate2Manip.java b/src/gleem/Translate2Manip.java index a76df48..101b1e4 100644 --- a/src/gleem/Translate2Manip.java +++ b/src/gleem/Translate2Manip.java @@ -42,7 +42,8 @@ package gleem; import java.util.*; import gleem.linalg.*; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A Translate2Manip is a Manip which translates in two dimensions and whose default representation is two arrows. */ diff --git a/src/gleem/WindowUpdateListener.java b/src/gleem/WindowUpdateListener.java index c87107a..793f051 100644 --- a/src/gleem/WindowUpdateListener.java +++ b/src/gleem/WindowUpdateListener.java @@ -39,7 +39,8 @@ package gleem; -import net.java.games.jogl.*; +import javax.media.opengl.*; +import com.sun.opengl.utils.*; /** A WindowUpdateListener is used by the ManipManager to transmit repaint() notifications to windows containing Manips. When a Manip |