Description: In the DrawShapes demo, we alternately create stars and donuts at mouse-click
locations with random sizes inside a MouseListener implementation: To paint our custom component, we iterate through the list of shapes and fill
each one in turn Finally, we use
RadialGradients for each shape, white at their centers and black at the outer
edges. The actual rendering for the shapes takes place in the simple call to
fill(Shape) at the end of the loop.
To Search:
File list (Check if you may need any files):
DrawShapes\.cvsignore
..........\.DS_Store
..........\build.xml
..........\build
..........\.....\built-jar.properties
..........\.....\classes
..........\.....\.......\DrawShapes$1.class
..........\.....\.......\DrawShapes$ClickReceiver.class
..........\.....\.......\DrawShapes.class
..........\.....\empty
..........\CVS
..........\...\Entries
..........\...\Repository
..........\...\Root
..........\manifest.mf
..........\nbproject
..........\.........\build-impl.xml
..........\.........\CVS
..........\.........\...\Entries
..........\.........\...\Repository
..........\.........\...\Root
..........\.........\genfiles.properties
..........\.........\private
..........\.........\.......\CVS
..........\.........\.......\...\Entries
..........\.........\.......\...\Repository
..........\.........\.......\...\Root
..........\.........\.......\private.properties
..........\.........\.......\private.xml
..........\.........\project.properties
..........\.........\project.xml
..........\src
..........\...\CVS
..........\...\...\Entries
..........\...\...\Repository
..........\...\...\Root
..........\...\DrawShapes.java
..........\test