faqts : Computers : Programming : Languages : Java

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 5 people (0%) answered Yes
Recently 0 of 5 people (0%) answered Yes

Entry

How can I pause the execution of programme

Jul 1st, 2008 22:12
jack seo, Khurram Ijaz, Gangadhar Thalange, http://www.renai-soft.com


You can pause execution of the program by calling wait method of any
currently executing object.
e.g.
class abc{
    public void wait(long millistowait)throws InterruptedException{
        wait(millistowait);
    }
}
there are other wait methods that take no parameters and micro seconds
besides millisecons.
Regards,
Khurram Ijaz.
http://www.renai-soft.com
http://bollywoodvideos.indiangamesworld.com
http://www.indiangamesworld.com