diff options
author | Sven Gothel <[email protected]> | 2012-06-21 20:58:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-06-21 20:58:04 +0200 |
commit | be0ebf39ac48e904803ad35ad280dc6ecde03119 (patch) | |
tree | 877e5b6cb721d182cf6f5b6c7bb2d6d34dcef0fd /src/redbook | |
parent | 9c2d74736fdd723267aaf6f7a5018dd1bc882775 (diff) |
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
Diffstat (limited to 'src/redbook')
-rw-r--r-- | src/redbook/src/glredbook10/alpha.java | 8 | ||||
-rw-r--r-- | src/redbook/src/glredbook1314/combiner.java | 8 | ||||
-rw-r--r-- | src/redbook/src/glredbook1314/fogcoord.java | 11 | ||||
-rw-r--r-- | src/redbook/src/glredbook1314/multisamp.java | 8 | ||||
-rw-r--r-- | src/redbook/src/glredbook1314/shadowmap.java | 8 |
5 files changed, 0 insertions, 43 deletions
diff --git a/src/redbook/src/glredbook10/alpha.java b/src/redbook/src/glredbook10/alpha.java index c040a41..6385c11 100644 --- a/src/redbook/src/glredbook10/alpha.java +++ b/src/redbook/src/glredbook10/alpha.java @@ -35,14 +35,6 @@ public class alpha// * mode, and handle input events.
*/
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);
- GLProfile.initSingleton(false); // just lazy to touch all html/jnlp's
-
alpha demo = new alpha();
//
JFrame.setDefaultLookAndFeelDecorated(true);
diff --git a/src/redbook/src/glredbook1314/combiner.java b/src/redbook/src/glredbook1314/combiner.java index 27cff3e..bf34c23 100644 --- a/src/redbook/src/glredbook1314/combiner.java +++ b/src/redbook/src/glredbook1314/combiner.java @@ -56,14 +56,6 @@ public class combiner// }
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);
- GLProfile.initSingleton(false); // just lazy to touch all html/jnlp's
-
combiner demo = new combiner();
GLCapabilities caps = new GLCapabilities(null);
diff --git a/src/redbook/src/glredbook1314/fogcoord.java b/src/redbook/src/glredbook1314/fogcoord.java index 19410de..a72273e 100644 --- a/src/redbook/src/glredbook1314/fogcoord.java +++ b/src/redbook/src/glredbook1314/fogcoord.java @@ -45,17 +45,6 @@ public class fogcoord// }
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);
- GLProfile.initSingleton(false); // just lazy to touch all html/jnlp's
-
- GLCapabilities caps = new GLCapabilities(null);
- GLCanvas canvas = new GLCanvas(caps);
-
fogcoord demo = new fogcoord();
JFrame.setDefaultLookAndFeelDecorated(true);
diff --git a/src/redbook/src/glredbook1314/multisamp.java b/src/redbook/src/glredbook1314/multisamp.java index f3212b7..16eb43c 100644 --- a/src/redbook/src/glredbook1314/multisamp.java +++ b/src/redbook/src/glredbook1314/multisamp.java @@ -39,14 +39,6 @@ public class multisamp // }
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);
- GLProfile.initSingleton(false); // just lazy to touch all html/jnlp's
-
multisamp demo = new multisamp();
JFrame.setDefaultLookAndFeelDecorated(true);
diff --git a/src/redbook/src/glredbook1314/shadowmap.java b/src/redbook/src/glredbook1314/shadowmap.java index 176d529..f20b9d2 100644 --- a/src/redbook/src/glredbook1314/shadowmap.java +++ b/src/redbook/src/glredbook1314/shadowmap.java @@ -72,14 +72,6 @@ public class shadowmap // }
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);
- GLProfile.initSingleton(false); // just lazy to touch all html/jnlp's
-
new shadowmap().run();
}
|