Java in 24 Hours (8th Edition) Hour 22: Working with Java2D Graphics
Home
Feedback
Other Books Previous Hour Next Hour
Notes and Corrections
- If you don't see the pie graph when you run the PieFrame application, expand the window a little wider and taller. It should appear.
Source Files
Activities
- Solution 1: PieFrame2.java. Here's an example of command-line arguments to use when running this application: "10000/255/218/128" "3000/128/128/255" "13000/0/0/255".
- Solution 2: StopSign.java.