Written by Tyler Conklin
Handouts:
Random Generator Reference
Graphics Reference
Events Reference
BonusEvents: DuplicatingShapes.java
This is a bonus program! It's meant to be challenging.
Write a graphics program to duplicate an oval ten times if the user clicks on the oval. Your program should start by populating the canvas with ten randomly generated ovals, much like the ten random circles example. Note that this means the X, Y, width, height, and color of the GOval should all be random. After this initial step, the canvas may look something like this:
Hint: The method below will be useful.