Runnable
waitPeriod
sleep()
thread
Thread
start()
run()
update()
run
try { Thread.sleep(waitPeriod * 1000); } catch (InterruptedException e) { break; }
paint()
public void update(Graphics g) { // Eliminate flicker by not erasing the background paint(g); }