Login  Register

Re: Help with JOGL and Java Web Start!

Posted by Pixelapp on Jun 02, 2012; 1:29pm
URL: https://forum.jogamp.org/Help-with-JOGL-and-Java-Web-Start-tp3936041p4025126.html

In case this helps someone, here's how I use my JNLP. I works well with Newt or JFrame:


<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="file:////Users/UserName/Dropbox/Documents"
      href="TexturedPolygon.jnlp">
  <information>
    <title>Wavelogy</title>
    <vendor>Pixelapp Co.</vendor>
    <homepage href="http://pixelapp.biz/"/>
    <description>Wavelogy the game.</description>
    <description kind="short">Racing game.</description>
  </information>
  <update check="background" policy="always"/>

      <resources>     
      <property name="sun.java2d.noddraw" value="true"/>
      <jar href="TexturedPolygon.jar" main="true"/>
      <extension name="jogl-all-awt" href="http://jogamp.org/deployment/jogamp-current/jogl-all-awt.jnlp" />
    </resources>

  <application-desc main-class="pixelapp.texturedpolygon.TexturedPolygon">
   <argument>NotFirstUIActionOnProcess</argument> 
  </application-desc>
</jnlp>