summaryrefslogtreecommitdiffstats
path: root/src/demos/cubefbo
diff options
context:
space:
mode:
Diffstat (limited to 'src/demos/cubefbo')
-rwxr-xr-xsrc/demos/cubefbo/Main.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/demos/cubefbo/Main.java b/src/demos/cubefbo/Main.java
index bebe89e..a3cebb2 100755
--- a/src/demos/cubefbo/Main.java
+++ b/src/demos/cubefbo/Main.java
@@ -36,7 +36,6 @@ package demos.cubefbo;
import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
-import javax.media.opengl.GLProfile;
import javax.media.opengl.GLCapabilities;
import javax.media.opengl.awt.GLCanvas;
import com.jogamp.opengl.util.FPSAnimator;
@@ -46,13 +45,6 @@ import javax.media.opengl.GLAnimatorControl;
public class Main {
public static void main(String[] args) {
- // set argument 'NotFirstUIActionOnProcess' in the JNLP's application-desc tag for example
- // <application-desc main-class="demos.j2d.TextCube"/>
- // <argument>NotFirstUIActionOnProcess</argument>
- // </application-desc>
- boolean firstUIActionOnProcess = 0==args.length || !args[0].equals("NotFirstUIActionOnProcess") ;
- GLProfile.initSingleton(firstUIActionOnProcess);
-
GLCapabilities caps = new GLCapabilities(null);
GLCanvas canvas = new GLCanvas(caps);