[577] in java-interest
Re: applet graphics not clearing each time paint() is called
daemon@ATHENA.MIT.EDU (Jonathan Payne)
Sun Jul 2 23:38:57 1995
From: jpayne@flim@Sun.COM (Jonathan Payne)
Date: Sat, 1 Jul 1995 18:41:32 -0700
To: java-interest@java.Eng.Sun.COM
Override the update(Graphics g) method. It's called whenever you
ask for an update with the ... hmm, is it repaint() method? Anyway,
thge defaul;t implementation of update(Graphics g) is to clear the
background and call the paint(Graphics g) method.
paint(Graphics g) is called whenever the applet scrolls into view, or,
the entire window is painted because it's exposed, etc.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com