Exercises
Based on the Canvas and Menu Examples, write an application that combines both. Then, add a “clear” MenuItem in the File Menu, that clears the canvas area. Also, add a new Menu for selecting the colour of the pen while drawing. Finally, give the user the option of turning the canvas grid on and off. If you like, you can also add a menu that lets the user change the grid spacing.