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.

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

for(int x=0; x < 12; x++){

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.yellow, Color.gray, Color.magenta,, Color.cyan, };