jPCT - a 3d engine for Java > Bugs
OpenGL on a Canvas
(1/1)
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.
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
Melssj5:
ok, thanks. I learned java almost alone, and there are many things like this one that I dont know. (yet)
Navigation
[0] Message Index
Go to full version