View Single Post
  #2 (permalink)  
Old 04-24-2008, 10:40 AM
Zosden's Avatar
Zosden Zosden is offline
Senior Member
 
Join Date: Apr 2008
Posts: 354
Zosden is on a distinguished road
try making an array of ints that hold the color values and then tell the paintComponent g.setColor(myArrayOfColors[i] or something along those lines.

myArray[0] = Color.GREEN; .... an so on
Reply With Quote