devsphoto.com
Drawline.java solution
Mouse events with java.