Processing front end for Arduino PID library.

I'm trying to get the PID library to work. I get the Arduino library working but I get the following Processing error:

Stable Library

Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
Exception in thread "Animation Thread" java.lang.ArrayIndexOutOfBoundsException: 1
at PID_FrontEnd_v03.setup(PID_FrontEnd_v03.java:116)
at processing.core.PApplet.handleDraw(PApplet.java:2103)
at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:190)
at processing.core.PApplet.run(PApplet.java:2006)
at java.lang.Thread.run(Thread.java:662)

I just downloaded all the latest files. I have Processing 2.0b5, the latest controlP5 library, Windows XP 32 bit.

I'm a dummy newbie so please keep any replies simple. Do I need to be connected to a running Arduino for it to work?

This is an Arduino forum, not a Processing forum. While we allow Processing questions here, occasionally, yours has nothing to do with Arduino.

The first message in your list, "ArrayIndexOutOfBounds", is telling you exactly what your problem is. Look at all of your code that references arrays (we can't because you didn't post any), and fix the array index that is out of bounds.

I'm a dummy newbie

The issue with taken-off-the-internet libraries is that you don't really know who wrote it.

PID is such a simple task that it takes you less time to write your own than to understand somebody else's (sometimes questionable) work.

http://brettbeauregard.com/blog/2011/04/improving-the-beginners-pid-introduction/