I partly misread your earlier question..
Aha! I thought you were talking about
converting an applet, and I wanted to get
that sorted first. OK..
You'd have to create a jnlp-file.
Yep.
Now I know you are 'on board' with the
idea of launching via JWS, I hunted down
the relevant info. on my javasaver site..
Here is an example lauch file..
<
http://www.javasaver.com/testjs/jws/04/glclock.jnlp>
The content of that JNLP file is..
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0"
codebase="
http://www.javasaver.com/testjs/jws/04/"
href="glclock.jnlp">
<information>
<title>Preview - GLClock</title>
<vendor>SaverBeans - JDIC</vendor>
<description>Preview of the GLClock SaverBeans Screensaver</
description>
<description kind='tooltip'>GLClock Preview</description>
<icon kind="splash" href="sb-jws-splash.gif" width="450"
height="250" size="16075" />
<icon href="smallbean-32x32.gif" width="32" height="32"
size="1044" />
<offline-allowed/>
<shortcut online="false">
<!-- create desktop shortcut -->
<desktop/>
<menu submenu="SaverBeans Screensaver"/>
</shortcut>
</information>
<resources>
<j2se href="
http://java.sun.com/products/autodl/j2se"
version="1.5+"/>
<jar href="glclock.jar" size="4917"/>
<jar href="saverbeans-api-dev.jar" main="true" />
<jar href="other.zip" size="4246" />
<extension name="jogl" href="
https://jogl.dev.java.net/webstart/
jogl.jnlp" />
<property name="jnlp.saverName" value="GLClock"/>
<property name="jnlp.config" value="/glclock.xml"/>
</resources>
<application-desc main-
class="org.jdesktop.jdic.screensaver.ScreensaverFrame">
<argument>org.jdesktop.jdic.screensaver.clock.GLClock</argument>
</application-desc>
</jnlp>
Most of the resource mentioned there can
be seen in the directory listing for ..
<
http://www.javasaver.com/testjs/jws/04/>
...they proabably amount to around 100Kb,
but the bulk of it is coming straight off
the JOGL area of the JDIC site.
Ironically, amongst all the fluff from
my site (icons and such) the smallest part
is probably the actual screensaver jar
that all this is meant to display. The
gjclock.jar is less than 5Kb.
Note there were some package changes last
year(?) to the JOGL api., and I suspect
they must have provided a new URL for
the repackaged classes, check the JOGL/JDIC
site for latest information.
HTH
Andrew T.