Create a class that lets the user click, drag and release with the mouse to draw lines in awindow. Include menu items that let the user select the colour of the line to be drawn, save the drawing file and retieve the drawing from a file.
Hint: Use object serialisation for saving and retieveing the drawing and use the Java drawing facilities where appropriate.