I've been trying to figure out a way for Processing to get the colour of a given pixel. The only way I've found to do this is through the getPixelColor() method of the Robot class (as written at
http://weblogs.java.net/blog/joshy/archive/2004/05/swing_hack_8_an.html. However, I can't get the Robot class to work in Processing (the Processing Wiki page
http://wiki.processing.org/w/Robot_class has example code but it doesn't work, claiming there's no Robot class).
Is there a way to do this without Robot, or alternatively, how can I get Robot to actually work?