🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Time updating

#16959
From: Paul Gifford
Date: Wed, 06 Jan 1999 00:00
25 lines
1061 bytes
Jonathan,

  You will need to create a separate thread that would update the
time.  It would need to be an endless loop, and after updating the
time it would put itself to sleep for 500ms or so.  Before updating
the time, make sure you check that the text field you are updating
still exists, and be sure to kill the thread when the
applet/application exits.

  Hope this helps...

p


On Thu, 24 Dec 1998 10:04:05 -0000, "Jonathan" <plaskowj@logica.com>
wrote:

>Can anyone tell me how to write a method which constantly updates a time on
>a statusBar
>
>many thanks
>
>jonathan
>
>
Technical Details
Message-ID: <36939aed.5450968@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <75t3ep$ek41@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,29a10c04586bd1a5
X-Google-Attributes: gidf74b3,public
From: paul.gifford@ibm.take.me.outta.here.net (Paul Gifford)
Subject: Re: Time updating
Date: 1999/01/06
Message-ID: <36939aed.5450968@forums.inprise.com>
X-Deja-AN: 429468433
References: <75t3ep$ek41@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language