A drawing application using a grid of boxes with event handlers