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
. 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
Get step-by-step solutions from verified subject matter experts
