This tutorial gives information about how things can be done using JHotDraw.
A structural overview is given in the JavaDoc documentation.