This program draws line segments from the location of the last click, to the mouse pointer. It demonstrates the use of some of objectdraw's basic event handling methods.
Click below to download the source files for RubberBand.