File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes is there any sleep() , delay ,.... method which delay execution of application ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "is there any sleep() , delay ,.... method which delay execution of application ?" Watch "is there any sleep() , delay ,.... method which delay execution of application ?" New topic
Author

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

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 550
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

Joined: Sep 19, 2004
Posts: 531
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

Joined: Jul 08, 2003
Posts: 24166
    
  30

Moving to Java in General (Beginner).


[Jess in Action][AskingGoodQuestions]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

There is a static method "sleep" in the Thread class which does what you want.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is there any sleep() , delay ,.... method which delay execution of application ?
 
Similar Threads
is there any sleep() , delay ,.... method which delay execution of application ?
Android - Using Custom Views to Read Database Data - Slows Down Drastically!
Jxam #45
Thread-based timer versus Timer Class-based timer
basic concept level question regarding threads