Making easy to run a JOGL Applet?? (please help)

Hi,

It’s my first message here, so Hello from Spain.

My question:
I need to make easy for users to run an applet, at this moment I need them to configure Java VM parameters from the Control Panel, and I’m wondering if I can pass these parameters to the applet from the HTML page.
The parameters are:
-Dsun.java2d.noddraw=True -Dsun.java2d.opengl=True -Xms32m -Djava.library.path=C:/Program Files/MyApplet/lib

I hope you can help me with this issue, it would be deeply appreciated!!!

Regards,
Pedro

See these links:

http://jogl-demos.dev.java.net/applettest.html
http://applet-launcher.dev.java.net/

The next-generation Java Plug-In also supports passing JVM command-line arguments in your HTML on a per-applet basis. However, specifying -Djava.library.path is a very bad idea in general. I assume you’re trying to get the JOGL native libraries picked up. The JNLPAppletLauncher above solves this problem. The next-generation Java Plug-In will solve it even more elegantly within a few weeks. For information on the new Java Plug-In see the following links:

https://jdk6.dev.java.net/6uNea.html
https://jdk6.dev.java.net/testPlugIn.html