Unformatted text preview: . Determine the currently selected color by calling the public method getCurrentColor on the ToolBarWindow . Extra Credit: Add a “ Clear ” button (see below) that clears the image. Pressing the clear button in the frame must cause the drawing to immediately clear itself. This will require interprocess communication between the Frame and your main applet (i.e., your Frame must be given the address of your main applet so that it can communicate to your main applet to clear itself)....
View Full Document
This note was uploaded on 10/12/2009 for the course CS 120 taught by Professor Robertdependahl during the Fall '09 term at Santa Barbara City.
- Fall '09
- Java Programming