I can't figure out how to get a JOGL Applet to work

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

I can't figure out how to get a JOGL Applet to work

Chris
So I've been attempting to locate a tutorial on getting a JOGL applet to work in the browser, however every tutorial I am finding seems to be far out of date, with many concepts not seeming to apply anymore. Can anyone point me in the right direction?
Reply | Threaded
Open this post in threaded view
|

Re: I can't figure out how to get a JOGL Applet to work

Pixelapp
The easiest way is to use Java Webstart, Applets are more complex.
Reply | Threaded
Open this post in threaded view
|

Re: I can't figure out how to get a JOGL Applet to work

Wade Walker
Administrator
In reply to this post by Chris
Try the tutorial on our wiki at http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet. If you want to do Java Web Start, there's a tutorial at https://jogamp.org/wiki/index.php/Using_JOGL_in_Java_Web_Start.

Let me know if you see any problems in these tutorials, if so I'll fix them up for you. They were current as of a couple of months ago, but the JOGL JARs have changed a little since then, so there may be some minor problems.

Be aware that right now there are some problems with JOGL applets in Safari and Firefox on Mac OS X, due to some recent changes in the way plugins work on OS X; see https://jogamp.org/bugzilla/show_bug.cgi?id=497 for more details. Sven is currently working on this.
Reply | Threaded
Open this post in threaded view
|

Re: I can't figure out how to get a JOGL Applet to work

Sven Gothel
Administrator
On Sunday, November 06, 2011 09:09:37 PM Wade Walker [via jogamp] wrote:
>
> Try the tutorial on our wiki at
> http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet. If you want to
> do Java Web Start, there's a tutorial at
> https://jogamp.org/wiki/index.php/Using_JOGL_in_Java_Web_Start.
>

Soon we will update the wiki .. until then you might like to consider
this thread:
  http://forum.jogamp.org/JogAmp-Deployment-Enhancements-Automatic-loading-of-native-JARs-Applet-Application-td3362447.html

It discusses the new 'NApplet' loading mechanism, one of our latest enhancements,
see the applet test page linked in the post.

The NApplet mechanism shall work in all environment, since it has the least requirements.

~Sven

> Let me know if you see any problems in these tutorials, if so I'll fix them
> up for you. They were current as of a couple of months ago, but the JOGL
> JARs have changed a little since then, so there may be some minor problems.
>
> Be aware that right now there are some problems with JOGL applets in Safari
> and Firefox on Mac OS X, due to some recent changes in the way plugins work
> on OS X; see https://jogamp.org/bugzilla/show_bug.cgi?id=497 for more
> details. Sven is currently working on this.

Yup .. currently cleaning/reviewing up the code:
  - need to fix resize
  - perform regression tests

~Sven

>
Reply | Threaded
Open this post in threaded view
|

Re: I can't figure out how to get a JOGL Applet to work

Worker
In reply to this post by Chris
Hi

You only must set it all correct in your own *.jnlp and your calling site (with <object classid=........ or so ).
With the applet-launcher and the signed jars from jogl it works good.

I have an example made on my server on www.jengine.ch that runs from a
jboss 7 with java 6 and jogl2 rc5.
Also Shader works correct in my browsers.