There is a call to setColor() in the paintComponent method.
What is the value of the color variable that it is using? What is printed out?
When you call repaint() the JVM does NOT immediately call...