aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-14 09:49:37 +0200
committerSven Gothel <[email protected]>2011-09-14 09:49:37 +0200
commit3972522e561f3d47ce4b0abce0cfa428d97f11bd (patch)
treee01d7e5c3a22c573a747ecdffa173fa7ab715e47 /src
parentd78568abedd21947a94f4dbadad42cbb5e7fb203 (diff)
Relocated VersionApplet
Diffstat (limited to 'src')
-rw-r--r--src/jogl/classes/jogamp/opengl/awt/VersionApplet.java (renamed from src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java)16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java b/src/jogl/classes/jogamp/opengl/awt/VersionApplet.java
index edcb91378..5856bf3a0 100644
--- a/src/newt/classes/jogamp/newt/driver/awt/opengl/VersionApplet.java
+++ b/src/jogl/classes/jogamp/opengl/awt/VersionApplet.java
@@ -1,4 +1,4 @@
-package jogamp.newt.driver.awt.opengl;
+package jogamp.opengl.awt;
import java.applet.Applet;
import java.awt.BorderLayout;
@@ -23,14 +23,10 @@ import javax.media.opengl.GLEventListener;
import com.jogamp.common.GlueGenVersion;
import com.jogamp.common.os.Platform;
import com.jogamp.common.util.VersionUtil;
-import com.jogamp.nativewindow.NativeWindowVersion;
-import com.jogamp.newt.NewtVersion;
import com.jogamp.opengl.JoglVersion;
+@SuppressWarnings("serial")
public class VersionApplet extends Applet {
- static {
- // redundant, since implicit (false): GLProfile.initSingleton(false);
- }
TextArea tareaVersion;
TextArea tareaCaps;
GLCanvas canvas;
@@ -96,15 +92,9 @@ public class VersionApplet extends Applet {
System.err.println(s);
tareaVersion.append(s);
- /*
- s = NewtVersion.getInstance().toString();
- System.err.println(s);
- tareaVersion.append(s);
- */
-
tareaCaps = new TextArea(120, 20);
GLDrawableFactory factory = GLDrawableFactory.getFactory(glp);
- List/*<GLCapabilitiesImmutable>*/ availCaps = factory.getAvailableCapabilities(null);
+ List<GLCapabilitiesImmutable> availCaps = factory.getAvailableCapabilities(null);
for(int i=0; i<availCaps.size(); i++) {
s = ((GLCapabilitiesImmutable) availCaps.get(i)).toString();
System.err.println(s);