@Override
    @SuppressWarnings("SleepWhileInLoop")
    public void run() {
        while(true) {
            repaint();
            try {
                Thread.sleep(5);
            } catch (InterruptedException ex) {}
        }
    }