email me at borlaj@portlandschools.org
Pause, wait, sleep, delay
try {Thread.sleep(2000);} catch(InterruptedException e) {}
This delays the code 2000 miliseconds (2 seconds) Change 2000 to desired delay.