Graphic Java

This assignment gives the student more practice using for loops.
EXAMPLE: The student will create an applet like the one shown here. This activity provides the student with practice using for loops.
x

ASSIGNMENT:
Here's a little sample to help the student get started on this assignment:

for(int x=0; x < 12; x++){
  g.setColor(c[x]);
  g.fillOval(...);
}

The student will need to create an array of 12 colors in order to use setColor as shown above. Here's the code to make an array of 12 colors:
  Color c[]= { Color.cyan, Color.orange, Color.blue, Color.green,
  Color.pink, Color.black, Color.yellow, Color.gray, Color.magenta,
  Color.red, Color.cyan, Color.orange };