Re: Jogl and the Netbeans Platform ¿can you help me?
Posted by Art B on Feb 17, 2011; 9:28pm
URL: https://forum.jogamp.org/Jogl-and-the-Netbeans-Platform-can-you-help-me-tp2482729p2522535.html
Both JOGL 1.1 and 2.0 work well in the Netbeans Platform.
For 2.0 I created two library modules. One for the java jars and the other for the native libraries. Place the native libraries in the release/modules/lib folder. In the project.properties add the argument "run.args.extra=-J-Djava.library.path=../{appname}/release/modules/lib" and replace {appname} with your application root folder name. Then add a GLJPanel to a top component as you would in a regular swing application. The GLCanvas can be used but doesn't handle resize well in a platform style application.