posted 24 years ago
The (abbreviated) default update() method CLEARS THE BACKGROUND and then calls
paint():
<PRE>
public void update(Graphics g) {
g.clearRect(0, 0, width, height);
paint(g);
}
</PRE>
So just override update to say:
<PRE>
public void update(Graphics g) {
paint(g);
}
</PRE>
Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD