[4210] in java-interest
Animator
daemon@ATHENA.MIT.EDU (James L Weaver/DELCO)
Wed Dec 13 16:22:01 1995
Date: Wed, 13 Dec 1995 14:22:14 -0500 (EST)
From: James L Weaver/DELCO <JLWEAVER@mail.delcoelect.com>
To: java-interest-digest <java-interest-digest@java.sun.com>
>From: Meiman <meiman@maagnum.com>
>Date: Tue, 12 Dec 1995 11:57:18 -0500
>Subject: Animator
>
>I hope somebody out there can help me with this.
>I run Animator applett with a reasonable size of background image
>(600x150) - using BACKGROUND parameter - It runs fine except the applet
>seems to be flickering.
>I think it's because the applet unnecessarily updates the WHOLE
>image/background for every new frame. Is there any way to overcome this
>problem? What we need may be a method like Graphics.drawImage() with
>only selected area/rectangle updated??
Check out the class written by Matthew Gray at:
http://www.netgen.com/~mkgray/java/NoFlickerApplet.html
All you do is subclass Animator from NoFlickerApplet instead of Panel.
Hope this helps,
Jim Weaver
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com