[2559] in java-interest

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

Re[2]: Double Buffering

daemon@ATHENA.MIT.EDU (Paul_Balon_at_ASTENGFW@ccmailsmtp.)
Wed Oct 4 15:42:38 1995

From: Paul_Balon_at_ASTENGFW@ccmailsmtp.ast.com
Date: Wed, 04 Oct 95 11:49:35 PST
To: "C. Jones" <cvj@u.washington.edu>, java-interest@java.sun.com

     How to avoid flashing inside applets...
     
     see http://java.sun.com/applets/applets/flash/index.html
     



______________________________ Reply Separator _________________________________
Subject: Re: Double Buffering
Author:  "C. Jones" <cvj@u.washington.edu> at internet
Date:    10/4/95 9:32 AM


     
     
On Wed, 4 Oct 1995 Paul_Balon_at_ASTENGFW@ccmailsmtp.ast.com wrote:
     
>      Check out the update() method.  This is probably where your applet is 
>      being erased before the paint.
>      
     
Thanks for your help.  But I am still puzzled.
     
Basically, my dragMouse() method calls the repaint() method to force 
the applet to be redrawn.  This calls the paint() method which draws 
the image and lines on the image.  
     
I never define my own update() method.
     
Instead of repaint() should I be calling update()?
     
Or does repaint() call update() which erases the applet before redrawing?
     
Thanks again for your help.
     
Cheers,
Chris 

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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