aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-18 03:30:23 +0100
committerSven Gothel <[email protected]>2010-12-18 03:30:48 +0100
commit89dd6a8729801d1b927c4d9a9826aa90e034b67a (patch)
treebf3020bd5fc8c42334805044a8aa51083329a30a
parent0308faca261052b44ed5a7cd43a7e9276c29f134 (diff)
GLProfile: refine doc
-rwxr-xr-xjnlp-files/javaws-version.jnlp19
-rw-r--r--src/jogl/classes/javax/media/opengl/GLProfile.java3
2 files changed, 21 insertions, 1 deletions
diff --git a/jnlp-files/javaws-version.jnlp b/jnlp-files/javaws-version.jnlp
new file mode 100755
index 000000000..6bf59e915
--- /dev/null
+++ b/jnlp-files/javaws-version.jnlp
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<jnlp codebase="JOGL_CODEBASE_TAG" href="javaws-version.jnlp" version="JOGAMP_VERSION">
+ <information>
+ <title>JOGL JNLP Javaws Version</title>
+ <vendor>JogAmp Community</vendor>
+ <homepage href="http://jogamp.org/"/>
+ <description>JOGL Version</description>
+ <offline-allowed/>
+ </information>
+ <update check="background" policy="always"/>
+
+ <resources>
+ <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
+ <!-- property name="sun.java2d.noddraw" value="true"/-->
+ <extension name="newt-all-awt" href="JOGL_CODEBASE_TAG/newt-all-awt.jnlp" />
+ </resources>
+
+ <application-desc main-class="com.jogamp.newt.impl.awt.opengl.VersionApplet"/>
+</jnlp>
diff --git a/src/jogl/classes/javax/media/opengl/GLProfile.java b/src/jogl/classes/javax/media/opengl/GLProfile.java
index 4d181a7b8..05c78b17b 100644
--- a/src/jogl/classes/javax/media/opengl/GLProfile.java
+++ b/src/jogl/classes/javax/media/opengl/GLProfile.java
@@ -75,7 +75,8 @@ public class GLProfile {
* </p>
* <p>
* Applications shall call this methods <b>ASAP</b>, before any other UI invocation.<br>
- * You may issue the call in your main function.<br>
+ * You may issue the call in your <code>main class</code> static block, which is the earliest point in your application/applet lifecycle,
+ * or within the <code>main function</code>.<br>
* In case applications are able to initialize JOGL before any other UI action,<br>
* they shall invoke this method with <code>firstUIActionOnProcess=true</code> and benefit from fast native multithreading support on all platforms if possible.</P>
* <P>