Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Cesar Gonzalez   on Jan 12 In Java Category.

  
Question Answered By: Komal Mohammad   on Jan 12

Try the following

MS_TO_SLEEP = 10 * 1000; // sleep  for 10 seconds
try
{
Thread.sleep(MS_TO_SLEEP);
}
catch(InterruptedException e)
{
Thread.currentThread().interrupt();
}

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Java Timeout Or get search suggestion and latest updates.


Tagged: