diff options
author | Kenneth Russel <[email protected]> | 2008-12-30 20:53:54 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-12-30 20:53:54 +0000 |
commit | a17d339a11e70f2aea6c6bf5115c22a0f4226ff1 (patch) | |
tree | 42de8a85cfcf3e4e5281fbe89ab4efbae83f2148 /src/demos/j2d | |
parent | 573668cfbd73f5f12990d0919795bd5286535d49 (diff) |
Refactored AWT dependencies in Animator class differently to allow
both Animator and FPSAnimator to pick up AWT behavior when available.
Moved Animator and FPSAnimator back to com.sun.opengl.util package as
it is unclear whether these classes are useful enough on all platforms
and profiles to warrant inclusion in the public specification. Updated
demos.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@311 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/j2d')
-rwxr-xr-x | src/demos/j2d/CustomText.java | 2 | ||||
-rwxr-xr-x | src/demos/j2d/FlyingText.java | 2 | ||||
-rwxr-xr-x | src/demos/j2d/TestOverlay.java | 2 | ||||
-rwxr-xr-x | src/demos/j2d/TestTextRenderer.java | 2 | ||||
-rwxr-xr-x | src/demos/j2d/TestTextureRenderer.java | 2 | ||||
-rwxr-xr-x | src/demos/j2d/TextCube.java | 2 | ||||
-rwxr-xr-x | src/demos/j2d/TextFlow.java | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/demos/j2d/CustomText.java b/src/demos/j2d/CustomText.java index 9830468..d8111ac 100755 --- a/src/demos/j2d/CustomText.java +++ b/src/demos/j2d/CustomText.java @@ -74,7 +74,7 @@ import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.GLU; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; diff --git a/src/demos/j2d/FlyingText.java b/src/demos/j2d/FlyingText.java index d076007..2bc77dd 100755 --- a/src/demos/j2d/FlyingText.java +++ b/src/demos/j2d/FlyingText.java @@ -70,7 +70,7 @@ import javax.media.opengl.GL2; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.GLU; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; diff --git a/src/demos/j2d/TestOverlay.java b/src/demos/j2d/TestOverlay.java index eaf4088..6c85610 100755 --- a/src/demos/j2d/TestOverlay.java +++ b/src/demos/j2d/TestOverlay.java @@ -59,7 +59,7 @@ import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLCapabilities; import javax.media.opengl.GLEventListener; import javax.media.opengl.awt.GLCanvas; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; /** A simple test of the Overlay utility class. Draws gears underneath with moving Java 2D-rendered text on top. */ diff --git a/src/demos/j2d/TestTextRenderer.java b/src/demos/j2d/TestTextRenderer.java index 813fec0..915dfd2 100755 --- a/src/demos/j2d/TestTextRenderer.java +++ b/src/demos/j2d/TestTextRenderer.java @@ -55,7 +55,7 @@ import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLCapabilities; import javax.media.opengl.GLEventListener; import javax.media.opengl.awt.GLCanvas; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; diff --git a/src/demos/j2d/TestTextureRenderer.java b/src/demos/j2d/TestTextureRenderer.java index 438fbc1..bedcd8c 100755 --- a/src/demos/j2d/TestTextureRenderer.java +++ b/src/demos/j2d/TestTextureRenderer.java @@ -62,7 +62,7 @@ import javax.media.opengl.GLEventListener; import javax.media.opengl.GLProfile; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.GLU; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; diff --git a/src/demos/j2d/TextCube.java b/src/demos/j2d/TextCube.java index 6ece457..3ed8efd 100755 --- a/src/demos/j2d/TextCube.java +++ b/src/demos/j2d/TextCube.java @@ -56,7 +56,7 @@ import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLProfile; import javax.media.opengl.awt.GLCanvas; import javax.media.opengl.glu.GLU; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; diff --git a/src/demos/j2d/TextFlow.java b/src/demos/j2d/TextFlow.java index 72a88ff..478f0bb 100755 --- a/src/demos/j2d/TextFlow.java +++ b/src/demos/j2d/TextFlow.java @@ -61,7 +61,7 @@ import javax.media.opengl.GL; import javax.media.opengl.GLAutoDrawable; import javax.media.opengl.GLProfile; import javax.media.opengl.awt.GLCanvas; -import javax.media.opengl.util.Animator; +import com.sun.opengl.util.Animator; /** Illustrates both the TextRenderer's capability for handling |