🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7189

Re: How do you make a 2 second delay?

#7189
From: Calvin R. Smith
Date: Tue, 10 Jul 2001 14:44
18 lines
1446 bytes
call sleep(1000*2)

<swett@starband.com> wrote in message news:3b4af6ed_2@dnews...
> In an applet I have a need for a 2 second delay once a frame is shown.
> After the delay, the frame is automatically closed and things continue.
> Everything's OK with auto closing and continuing, but I don't know how to
> build in a 2 second delay.
>
> While this is not a "splash" screen, you can think of it as something like
> that.
>
> The applet does not currently have a need for threads and hopefully adding
a
> delay won't introduce threads into it.
>
> TIA
>
>
Technical Details
Message-ID: <3b4b1505$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3b4af6ed_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ee8da04c0400ff3e
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-07-10 08:00:44 PST
From: "Calvin R. Smith" <calvinrsmith@hotmail.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3b4af6ed_2@dnews>
Subject: Re: How do you make a 2 second delay?
Date: Tue, 10 Jul 2001 08:44:17 -0600
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 207.201.104.96
Message-ID: <3b4b1505$1_1@dnews>
X-Trace: dnews 994776325 207.201.104.96 (10 Jul 2001 07:45:25 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!netnews.com!xfer02.netnews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews