title: delay in an java applet program without using threads
body: <p>Is it possible in java to make the program to sleep or wait for a particular time peroid ?</p>
  
  <p>As in C++ we do <code>delay(1000);</code>.
  I am writing a java applet <strong>which does not include threads</strong>, but I want it to delay the execution of some statements. Its a clock(Digital) applet. so I need to make part of my applet code to delay for 1 second.</p>