(Random Colors) Modify Exercise to draw each of the 20 randomly sized shapes in a randomly selected color. Use all 13 predefined Color objects in an array of Colors.
Exercise
(Selecting Shapes) Write an application that allows the user to select a shape from a JCombo-Box and draws it 20 times with random locations and dimensions in method pai ntComponent. The first item in the JComboBox should be the default shape that is displayed the first time paintCompo-nent is called.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.