OpenGL on a Canvas

Started by Melssj5, November 05, 2005, 09:04:05 AM

Previous topic - Next topic

Melssj5

Hi, I am using a canvas inside a JApplet to render a car and change its color.

I can run the applet inside the IDE but when I try to run it from the web page I receive 2 exceptions and the applet doesnt appear, and also when I close the applet.

I was wondering if you´d mind checking my code Egon. can I send it to your mail? there are two classes

The main one called aplication and the RenderThread that renders the image and manage the events.
Nada por ahora

rolz

Applet's default permissions won't allow you to load native libraries which GLCanvas require. I bet permissions are not checked when you run the applet from IDE. You would need to sign the applet to get more permissions.


Here is a link that proves that it is actually possible ;)
http://www.jpct.net/forum/viewtopic.php?t=258
Regards,
Andrei

Melssj5

ok, thanks. I learned java almost alone, and there are many things like this one that I dont know. (yet)
Nada por ahora