Update RepaintThread.java