From be0ebf39ac48e904803ad35ad280dc6ecde03119 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 21 Jun 2012 20:58:04 +0200 Subject: Remove GLProfile.initSingleton(..) calls and JNLP argument 'NotFirstUIActionOnProcess'; Adapt to CapabilitiesChooser API/generics change; Misc - Remove GLProfile.initSingleton(..) calls and JNLP argument 'NotFirstUIActionOnProcess' - Adapt to CapabilitiesChooser API/generics change - Cleanup some generics use .. etc --- src/demos/applets/GearsApplet.java | 2 -- src/demos/applets/GearsJOALApplet.java | 1 - 2 files changed, 3 deletions(-) (limited to 'src/demos/applets') diff --git a/src/demos/applets/GearsApplet.java b/src/demos/applets/GearsApplet.java index 046f117..6fd737d 100755 --- a/src/demos/applets/GearsApplet.java +++ b/src/demos/applets/GearsApplet.java @@ -3,7 +3,6 @@ package demos.applets; import java.applet.*; import java.awt.*; import demos.gears.Gears; -import javax.media.opengl.GLProfile; import javax.media.opengl.awt.GLCanvas; import com.jogamp.opengl.util.FPSAnimator; import javax.media.opengl.GLAnimatorControl; @@ -16,7 +15,6 @@ public class GearsApplet extends Applet { public void init() { System.err.println("GearsApplet: init() - begin"); - GLProfile.initSingleton(false); setLayout(new BorderLayout()); GLCanvas canvas = new GLCanvas(); canvas.addGLEventListener(new Gears()); diff --git a/src/demos/applets/GearsJOALApplet.java b/src/demos/applets/GearsJOALApplet.java index 1c03636..582f0f3 100755 --- a/src/demos/applets/GearsJOALApplet.java +++ b/src/demos/applets/GearsJOALApplet.java @@ -19,7 +19,6 @@ public class GearsJOALApplet extends Applet { private GLAnimatorControl animator; public void init() { - GLProfile.initSingleton(false); setLayout(new GridLayout(1, 2)); GLCanvas canvas = new GLCanvas(); canvas.addGLEventListener(new Gears()); -- cgit v1.2.3