Can JOGL extension be downloaded lazily?

I want to be able to download the JOGL extension lazily but I don’t know if this is possible given that the jogl-all-awt.jnlp file doesn’t seem to specify extension parts to reference in my applet’s own JNLP.

Is it possible to not download all of JOGL until I want it and put that download under control of the applet? If so, how?

Thanks,

Jarrick Chagma

While I’m not comfortable with JNLP yet, I think the answer is “yes.” The OpenGL “natives” might hide in the extension. If true and requiring OpenGL immediately at execution time, “loading lazily” will not work well. Otherwise if a UI like Swing existing separately from OpenGL comes first, it might safely happen. That comes with the assumption of course that OpenGL starts a few moments later probably from the UI serving a menu of choices.

that’s the way 3DzzD load it to switch from software to hardware rendering (here is a live demo http://dzzd.net/demo/QUAKE/ ), you can have a look at the following thread to see the basic concept : http://www.java-gaming.org/index.php/topic,16911.msg135173.html#msg135173