We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
OpenGL Applet (Read 668 times)
OpenGL Applet
Nov 15th, 2007, 7:05am
 
Hi,

I wrote a sketch using opengl in processing.
Now I am trying to export it as an applet.
I tried using the jogl applet code as on this website:
https://jogl-demos.dev.java.net/applettest.html

But I get the following error on my Java console:
java.lang.NoClassDefFoundError: Could not initialize class javax.media.opengl.GLCanvas
java.lang.NoClassDefFoundError: Could not initialize class javax.media.opengl.GLCanvas at processing.opengl.PGraphicsOpenGL.allocate(PGraphicsOpenGL.java:219)
     at processing.core.PGraphics3D.resize(PGraphics3D.java:244)
     at processing.core.PGraphics.<init>(PGraphics.java:640)
     at processing.core.PGraphics3D.<init>(PGraphics3D.java:220)

...

This happens although the class is in my my .jar file under javax.media.opengl (I checked).

Any ideas?


Page Index Toggle Pages: 1