GLCanvas not working anymore, GLJPanel works fine... why?

If your code works in the example application, then it is a problem with your old project setup. Please make a zip of your project without your sources (I want to inspect the netbeans project files) and send it to mhenze (at) highteq (dot) net. To solve your current problem, you could just create a new project based on the SimpleJOGL and copy all the code from the old project to it.

finally, my problem is SOLVED :slight_smile: (thanks to cylab). it turned out that my netbeans project was still referring to some old jogl.dll file.

unfortunately, now i’m having other problem, probably related with java web start and NetBeans:
when i compile and run my project with default config, then it runs ok,
but when i enable java web start in project properties, and try to build and run, then the project cannot run, and ends with an error:

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.javaws.Launcher.executeApplication(Launcher.java:1272)
    at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1218)
    at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1065)
    at com.sun.javaws.Launcher.run(Launcher.java:105)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: javax/media/opengl/GLCanvas

so, again, it may be lib related thing.
i have cleaned my system from all jogl.* and gluegen* files, so it’s (probably) not version mismatch problem.

btw: is path and classpath environment variables so important when deploying app via Java Web Start?