Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
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 . 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
please show codes in java
thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started