Update animateThread.java