How to draw simple diagrams the easy way (with Java2D)