tut11_2009 - BufferedImage as an off-screen buffer for...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EE3206/EE5805 Java Programming and Applications Tutorial 11 – Creating Interactive GUI Application 1. Based on the color area panel done in the last tutorial, change all the buttons to radio buttons and make the color area paintable as shown in the figures below. The five radio buttons are used to select the color of stroke. A user can sketch on the color area by dragging the mouse on it. (Hints: use
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: BufferedImage as an off-screen buffer for painting and then copy the buffer to the drawing panel) 2. Modify the application again and make the color area erasable. A user can erase the painting by holding down the CTRL button and dragging the mouse on the painting. The diameter of the eraser is 20. - END -...
View Full Document

Ask a homework question - tutors are online