🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Simulating animation (refresh problem)

#16924
From: Max Polk
Date: Mon, 04 Jan 1999 00:00
13 lines
1159 bytes
[This followup was posted to borland.public.jbuilder.java.language and a 
copy was sent to the cited author.]

In article <36913A34.40CCCC1E@sciatl.com>, tom.heagy@sciatl.com says...
> My problem is that the display doesn't refresh until the last move is
> complete (i.e. I'm out of the loop and control is passed back to the
> OS).  I've played around with "invalidate" and "validate", but with no
> success.

Have you tried repaint?  (in)validate has to do with saying that the 
component needs repainting whenever AWT gets around to it, which can be 
much later.  repaint has to do with saying that all pending paint 
commands should occur right away.  repaint sounds like what you want.
Technical Details
Message-ID: <MPG.10fb2a0dae6a30af9896a8@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36913A34.40CCCC1E@sciatl.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,55c33f6eaaa49fd2
X-Google-Attributes: gidf74b3,public
From: none@none.com (Max Polk)
Subject: Re: Simulating animation (refresh problem)
Date: 1999/01/04
Message-ID: <MPG.10fb2a0dae6a30af9896a8@forums.borland.com>
X-Deja-AN: 428833315
References: <36913A34.40CCCC1E@sciatl.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language