Oh, sorry... i forgot that!!
it seems like Processing does'nt get any data from the Arduino, and i suspect it to be somewhat of a portconnection-error or something like that. Actually when the Arduino (Uno) runs the sketch and the Processing-sketch is running, nothing happens in Processing. Again - i'm not a shark, when trying to debug in Processing, but maybe it could be a port assignment of some sort???
I've checked the Arduino-sketch in the serial monitor, and that works fine (it should be - it's very basic). But i can't seem to see what makes the Processing sketch tick (or rather NOT tick)... The accelerometer is an ADXL-335, as proposed in the sketches.
I'm only trying to find a processing sketch to show, how an accelerometer works in real life, and to show something meaningfull on a projector - other than just numbers in a serial monitor... XD