JOGL in an applet ?

has anybody been able to run JOGL in an applet ?

any pointers will be highly appreciated :slight_smile:

where is the problem? it’s the same as in an awt-window.

example: http://dev.knowledgeassociates.com/java/opengl/opengl.php?lesson=7

mfg
wiesi

Well, there’s no way of loading jni libraries in applets, afaik.

[quote]Well, there’s no way of loading jni libraries in applets, afaik.
[/quote]
off course. simply copy the dlls into the bin-directory of the java-lib. (and you must activate the jvm instead of the msvm).

mfg
wiesi

please excuse me for my bad english. i am from austria. - entschuldigung, bitte.

Well, yeah, trick the user into doing that, and it’ll work.

Can’t you put native libraries in a jar or something when you use signed applets? Maybe Web Start is the better approach?

I’m fairly sure you can’t. =/

With a signed applet you can at least have the library in a jar file, extract it to a temp file and then load it, can’t you?
The java plug in may not dig the lib out of the jar for you… but you can work around it.

But I want the plugin to do it! waah

:wink: