FScreenGrabber

FScreenGrabber is a simple java application for grabbing a screen shot.

It allows a rectangle of the screen to be grabbed and optionally scaled, as shown on the screenshot below.

Screenshot of FScreenGrabber

The program can be launched through java web start:

Launch FScreenGrabber

The source, a single .java source file, can be obtained below:

FScreenGrabber.java (PDF)

The source illustrates how to take screenshots with the java.awt.Robot, how to use XOR drawing and simple Drag and Drop support for images.