y+=100; try { the_thread.sleep(5000); } catch (InterruptedException e) { } g.drawImage(photo01,x,y,200,200,this); }