Question: 4. Write an application that will allow the user to draw number of circles based on his desired size and colors. The application should ask

 4. Write an application that will allow the user to draw

4. Write an application that will allow the user to draw number of circles based on his desired size and colors. The application should ask the user to enter the number of circles, their radius size and the color of each circle of them. Display a set of options for user's colors and take the user's choices using JOptionPane input dialog. Note that you need to store the colors the users chooses in an array to later draw the circles Input x Input Enter the number of circles to draw Enter the size of circles: OK Cancel OK Cancel Input Choose color of circle t 2.Yellow .Green 40range OK Cancel

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!