How to configure NetBeans 6.x to run OpenGl enabled Processing sketches
After some jours of hair-pulling, I have stumbled upon this thread explaining how to configure NetBeans to run a Processing applet in OpenGL mode :-).
It seems that the path to follow is this one :
- – Right click on the ‘Libraries’ folder in the left hand column and “Add JAR/Folder”, then in the dialog box locate the
jogl.jarfiles inside :
- Right click on the name of the project in the left hand column and select properties. Then in the box that pops up (Project Properties), click on the “Run” link in the left column. In the VM Options field you want to enter:
- Running the application now will work, but if you try and run the compiled JAR of your application from the
/dist/folder, you will find it won’t work unless you copy some files into that directory.
For Mac you need to copy all the
*.jnilibfiles and for PC it is the
*.dllfiles from :
Isn’t that nice ? Now I can use the full-fledged NetBeans IDE (and hopefully auto-completion) to code my Processing sketches.