• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is there any sleep() , delay ,.... method which delay execution of application ?

 
raminaa niilian
Ranch Hand
Posts: 551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for reading my post
I need to have a Sleep() or delay() or any other function which could delay execution of my application
for some MicroSecond , i should tell that i need to have delay in MicroSeconds .
can some one help me with this problem ?


Thank you
 
Rick O'Shay
Ranch Hand
Posts: 531
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is really a beginner's questions. In general, google is faster than news groups or discussion forums; so try "sleep java", assuming you do not have an introductory Java book handy.
[ February 19, 2006: Message edited by: Rick O'Shay ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Java in General (Beginner).
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a static method "sleep" in the Thread class which does what you want.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic