File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Nov 25, 2004
Sep 16, 2005 04:03:00
What's the best way to add 10 second delay withing main () if not using threading?
Joined: Mar 22, 2005
Sep 16, 2005 04:07:00
will do that even in a single-threaded application.
Ping & DNS
- my free Android networking tools app
Joined: Sep 11, 2005
Sep 16, 2005 04:25:00
Thread.sleep(10000) will do. sleep() method is static in Thread class and it causes the current thread to sleep for the specified number of milli-seconds.
keep smilin :: sravan<br /><a href="http://sravanpens.blogspot.com" target="_blank" rel="nofollow">I scribble here</a>
Web services book for beginners
Advice sought on Automation approach...
Log files: Websphere
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014