When I try to add a GLJPanel in Netbeans 6.0 Beta 1 w/ JOGL something strange happens with the window rendering: I cannot see an object to place (no black GLJpanel or GLCanvas square like the screenshots show), and if I add it in and switch from designer view to source view and back again, the window will not redraw and things will look all messed up until I remove the object.
I also can view the following exception (trimmed):
java.lang.NoClassDefFoundError: Could not initialize class com.sun.opengl.impl.windows.WindowsGLDrawableFactory
at java.lang.Class.forName0(Native Method)
I can compile and run the demos, however. I've installed it on two computers and followed the directions, and still have this problem.
Another error (perhaps more telling):
javax.media.opengl.GLException: Unable to create OpenGL context for device context 0x490109d2
And the Tools/OpenGL Capabilities dialog has no information in it.Further Edit:
Since the problem seemed to be the JVM Netbeans is using couldn't find the methods supplied in the JAR or perhaps DLL files, I stuck them all over the place in my JDK folders and now things seem to work. Odd, that.