Concluding Remarks
- a drawing area (e.g., a canvas)
- a mouse handler for events in the drawing area.
- a tool menu (e.g., a panel of buttons, a menu, or a canvas fixed up as a toolbar)
- a mouse handler for events in the tool area
- a class of drawn objects that can paint themselves and mark themselves as selected or unselected.
The object-oriented paradigm suggests associating the functionality for each component with that component.