diff options
-rwxr-xr-x | jnlp-files/javaws-version.jnlp | 19 | ||||
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLProfile.java | 3 |
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> |