JAVA: How to cycle color
<pre><code>public class MyPix ()
 {
     pixColor = Color.BLUE;
 }

public void draw(Graphics g)
    {
        g.setColor(pixColor);
        g.fillOval(5,5,10,10);
    }
</code></pre>

<p>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.</p>
