🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Using the Timer class

#16061
From: Robert J. Muller
Date: Wed, 31 Mar 1999 00:00
12 lines
1047 bytes
The best solution I've found is to use Thread.sleep(ms), which puts the
current thread to sleep for a given number of milliseconds.
  --Bob Muller

Robert J. Muller wrote:

> None of the documentation I have has a code example of the Timer class
> and the TimerClient interface. Being new to Java, I'm lost. Does someone
> have a code snippet that will show me how to implement the TimerClient
> interface and poll something repeatedly until a condition is reached?
>
>   --Bob Muller
Technical Details
Message-ID: <37025BE6.6B0DF9EF@valuestar.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36F99006.3392B67B@valuestar.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,8a83593d4a78e168
X-Google-Attributes: gidf74b3,public
From: "Robert J. Muller" <bmuller@valuestar.com>
Subject: Re: Using the Timer class
Date: 1999/03/31
Message-ID: <37025BE6.6B0DF9EF@valuestar.com>
X-Deja-AN: 461231635
Content-Transfer-Encoding: 7bit
References: <36F99006.3392B67B@valuestar.com>
Content-Type: text/plain; charset=us-ascii
Organization: ValueStar, Inc.
Mime-Version: 1.0
Reply-To: muller@computer.org
Newsgroups: borland.public.jbuilder.java.language