[3774] in java-interest

home help back first fref pref prev next nref lref last post

Re: Odd timing on Turkey Day

daemon@ATHENA.MIT.EDU (ian c rogers)
Mon Nov 27 18:37:00 1995

From: "ian c rogers" <irogers@ghostfacekiller.biggun.com>
Date: Mon, 27 Nov 1995 11:00:56 -0800
In-Reply-To: Jim.Graham@Eng.Sun.COM
        "Re: Odd timing on Turkey Day" (Nov 24,  4:54pm)
Reply-To: irogers@biggun.com
To: Jim.Graham@Eng.Sun.COM, java-interest@java.Eng.Sun.COM, irogers@biggun.com

On Nov 24,  4:54pm, Jim.Graham@Eng.Sun.COM wrote:
> Note that this repaint does not necessarily get executed immediately.
> The repaint method is called "as soon as possible", which means that it
> is scheduled to have its update method called at some time in the
> future with as little delay as possible.  In fact, all of your
> "scaledRepaint" calls but the last one may end up ignored as they are
> all collapsed into one repaint which is performed with your variables
> set up as per the most recent call to this method.

This explains quite a bit of the odd behavior I've been experiencing.  So can I
call repaint(1) to force a call within 1 millisecond and thus gain tigheter
control over the animation?  I'm guessing there is a caveot to this, what would
it be?

ian

-- 
ian c rogers                         http://www.filmzone.com/
Big Gun Project                      http://www.crashsite.com/Crash/
irogers@biggun.com                   http://www.nando.net/music/gm/
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post