Login  Register

Re: Roadmap for JNLPAppletLauncher?

Posted by Martin on Aug 22, 2012; 5:17pm
URL: https://forum.jogamp.org/Roadmap-for-JNLPAppletLauncher-tp4025843p4025864.html

Although it still does not work online for the moment, I can have this normal applets working locally.

But I wonder how does native jar selection works? I have adapted your example for an applet with such a structure:
http://domain/dir/demo.html
http://domain/dir/applet-org.jzy3d-0.9.jar
http://domain/dir/jogl2-rc10/[all jogl jars]
http://domain/dir/misc/[my app dependencies]

The below example works but I don't understand how jogl guesses all natives stand in jogl2-rc10/ folder. Any clue?

<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="500" height="500">
        <param name="code" value="com.jzy3d.tools.applets.AppletChart">
        <param name="archive" value="jogl2-rc10/gluegen-rt.jar,
                                jogl2-rc10/jogl-all.jar,
                                misc/opencsv-2.1.jar,
                                                                misc/org.convexhull.jar,
                                                                misc/swt.jar,
                                                                applet-org.jzy3d-0.9.jar">
        <param name="java_arguments" value="-Dsun.java2d.noddraw=true">
        <comment>
                <embed code="com.jzy3d.tools.applets.AppletChart"
                        width="500" height="500"
                        type="application/x-java-applet;version=1.6"
                        pluginspage="http://java.sun.com/javase/downloads/ea.jsp"
                        archive="jogl2-rc10/gluegen-rt.jar,
                    jogl2-rc10/jogl-all.jar,
                    misc/opencsv-2.1.jar,
                                        misc/org.convexhull.jar,
                                        misc/swt.jar,
                                        applet-org.jzy3d-0.9.jar"
                        java_arguments="-Dsun.java2d.noddraw=true">
                        <noembed>Sorry, no Java support detected.</noembed>
                </embed>
        </comment>
</object>