public class MyPix ()
{
pixColor = Color.BLUE;
}
public void draw(Graphics g)
{
g.setColor(pixColor);
g.fillOval(5,5,10,10);
}
Given I have above simplified class. How would I make my shape cycle in color without interaction. I did not get the thread/sleep thing to work yet.