use timer
like something called date maybe there, caculate the time elapsed, then draw again.
or in java, u can use try {Thread.sleep(milli seconds);} catch(InterruptedException e){}
or in java, u can use try {Thread.sleep(milli seconds);} catch(InterruptedException e){}