JOGL integration with netbeans 7 after update [solved]
Posted by phler2 on May 04, 2011; 7:36am
URL: https://forum.jogamp.org/JOGL-integration-with-netbeans-7-after-update-solved-tp2897776.html
dear community
i have face a little problem when updating to netbeans 7
and would like to share my solution as it was hard to track
here it is, i update my NBP suite using jogl 1.1.1 to nebeans 7
it works with minor changes
but at some point, i clean and rebuild everything and jogl stops to work :
the GLCanvas (or GLJPanel) only shows a black screen with written in the middle "glcanvas" or "gljpanel"
the init(GLDrawable...) never gets called, and nothing else happens
after trying many solution, including trying JOGL 2, updating all my libraries...
creating a small minimal module inside my main project to test jogl independanlty
no success
passing to jogl 2 with GLCanvas get me an error with some AWT thing not supported when the glcanvas is added to the Topcompenent
i couldnt find any thing on the net for that
but then creating a new suite, with one single jogl 2 module inside, and it works
so i start to figure there is some library that i was including in my mproject, that interferes
go to the main project libraries
remove everything except Platform libraries
then click to resolve some libraries missing
clean build run, and tada
it works
the interferring library is somewhere in
apisupport
harness
ide
jave
but i wont spent time now trying to figure what it was
hopes this helps anyone facing some weird problems with jogl and netbeans upgrade
many thanks to all the developpers by the way
it is a very nice api, and helps me a lot in my work
thanks
Philippe