Recently I've been looking at Povray, pyprocessing, and cfdg (version 3.0) as tools for creating digital images. I have branched two separate blogs where I mainly explore jruby + processing and

Monday, 30 July 2012

Setting up Netbeans-7.4 for processing-2.0

Navigate using the tools button in menubar, then the click on the libraries button in the drop down menu.
Create new library (processing or processing-2.1 would be a sensible name, but I have just used processing below to match ArchLinux). Add the appropriate jars for your OS/architecture see below for a snapshot of my 64 bit linux setup.

Screenshot of ant libraries manager set up for development with processing.2.1 on ArchLinux

To add the library to your netbeans project, right click libraries in the project view window and add the library you have just created, see screenshot:-

You can get template files for developing processing here.  The easiest way of installing these files is to copy them to the .netbeans folder, which you will find in your home directory. There will be  a subdirectory 7.4, a further sub-directory config. If there isn't a Templates folder in that directory, then create it, and similarly create a subdirectory Classes. Copy the three java template files into this folder.  If .nbattrs doesn't exist copy this one there or edit the existing file appropriately. Install the processing.png icon in the Templates folder.

Path to template files in home folder:-


Assuming you also have a standard processing ide setup then you can add contributed libraries in a similar way, see my peasycam entry below, NB click on images to see full size:-

Creating a ant_library for a "contributed" processing library

No comments:

Post a Comment


Blog Archive

About Me

My photo
Pembrokeshire, United Kingdom
I have developed JRubyArt and propane new versions of ruby-processing for JRuby- and processing-3.2.2