public void repaint() { paintComponent();
public synchronized void repaint() { if(!update){ update = true; notifyAll(); }
            public void repaint() {                paintComponent();            }