🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2059

Re: Sleep(m)

#2059
From: Yonatan Taub
Date: Tue, 10 Jul 2001 19:00
15 lines
1286 bytes
try {
  Thread.sleep(2000);
} catch(InterruptedException x) {
     /* exception handling goes in here  */
}
"Phil Barber" <barber@galtney.com> wrote in message news:3b4b2094_2@dnews...
> in win32 I use the Sleep(M) procedure to use as a wait state, where
> M = millseconds.
> Is there an Java equevilant?
> if so, could you please provide a small code snippet on use.
> thanks
> Phil.
> Java newbe!
>
>
Technical Details
Message-ID: <3b4b41f8$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3b4b2094_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,aa200744015bc4ba
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-07-10 11:11:50 PST
From: "Yonatan Taub" <yonatanta@bashan.co.il>
Newsgroups: borland.public.jbuilder.java.api
References: <3b4b2094_2@dnews>
Subject: Re: Sleep(m)
Date: Tue, 10 Jul 2001 21:00:15 +0200
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 212.179.22.2
Message-ID: <3b4b41f8$1_1@dnews>
X-Trace: dnews 994787832 212.179.22.2 (10 Jul 2001 10:57:12 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews