1
2
3
4
5
| try { Thread.sleep( 2000 ); //in milliseconds. } catch (InterruptedException ex) { Thread.currentThread().interrupt(); } |
try { Thread.sleep(2000); //in milliseconds. } catch(InterruptedException ex) { Thread.currentThread().interrupt(); }
No comments:
Post a Comment