jogl libraries and applets

Hi guys,

I was considering writing a jogl app that i’d like to run as an applet. My issue is how would i go about making the appropriate jogl libraries easily reachable for each end user from an applet? I read somewhere that web-start had some kind of functionality involving this, but i can’t seem to find anything explicitly detailing how you’d set that up with an applet.

Or/also the same thing (presumably the same method) for something like java3D would be cool too.

Thanks for any help

Regards,

R.

See
https://jogl-demos.dev.java.net/applettest.html

Thanks, that’s worked out for me (eventually).

Though i do still have an issue i’d like to pick your brains about. If you’d like to visit here: http://rhys-works.com/media/applet.html

That’s my jogl applet, that should work with a normal java installation. The only problem is, i’ve come across two cases where people are getting to the ‘starting applet’ phase, and it just hangs there. I’ve got an inkling that it may be related to earlier versions of java, but am not entirely sure on this. Is there any known reason why 1.4 or .1.5 might not work with the jogl applet loader? Also, i’ve had a case where someone’s upgraded to the latest version, and still no luck.

Anyone got any ideas on what may be the cause of this? It’s possible that it could be java control panel configuration settings, but i don’t think so. Most people’s are the same. Is there anything that could be in my applet code that could cause teh launcher to hang on certain computers, or any such thing. I know there’s a bunch of things like noscripts, firewalls and such that may be causing an issue, but any solid ideas or experience in this would be great.

Thanks

Turns out, it is a version issue. Anybody know why older versions of java (say, 1.4) wont work?

JNLPAppletLauncher requires java 1.4.2 or later.

[quote=https://jogl-demos.dev.java.net/applettest.html]It has been tested and should work on any OS/CPU combination supported by JOGL with a Java Runtime Environment version 1.4.2 or later installed into the web browser…
[/quote]

Please take a look at the next-generation Java Plug-In, in particular the new JNLP support in the new Java Plug-In. This is the path going forward for deployment of JOGL based applets.