Correction: The paintComponent() method is not an override.

The problem is probably with the call to repaint() from the paint() method or its called methods