void delay(){ try{ Thread.currentThread().sleep(30); }catch(InterruptedException e){ System.out.println(e); }//end catch }//end delay