Question: please show codes in java thanks . Write a program which asks the user to enter an RGB color. Next, construct an array of 50

please show codes in java
thanks  please show codes in java thanks . Write a program which

. Write a program which asks the user to enter an RGB color. Next, construct an array of 50 Colors. Fill this array with 50 randomly generated colors for which each of the three components is randomly generated, and within 20 of the color you entered. Next, in a graphics JFrame and JPanel, construct 50 circles with randomly generated a and y coordinates for the circle center, and randomly generated radius r. Your circles should have radius between 10 and 150. In a for loop, create your circles, and in each with the corresponding color from your color array

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!