Faster way of screen capture (java)
===

I find the `robot.createScreenCapture(rectangle)` method of screen capturing extremely slow.

I aim to create a smooth GIF Animation and to fulfill this I need to capture my screen (at around 1 frame per 10-30ms). Doing so whilst saving the buffered image as JPEG file slows down my applet terribly.

I got fed up and eventually stored all of the buffered images into an ArrayList before saving them (this time) all at once; and it wasn't a surprise - my applet froze for 2 minutes before crashing...

I don't mind if external programs / libraries do the task better, if you suggest the former I'd rather the program to be able to be executed in java on runtime.

Thanks.