Basic HTML version of Foils prepared 6 Feb 99

Foil 30 The repaint Method

From Java Academy I:Elementary Java NPAC/ECS Java Academy -- February to April 1998 and 1999. by Nancy McCracken (foils by Tom Scavo)

The repaint Method for Foil 30
Note, however, that update(...) takes a Graphics argument, which is inconvenient
Instead, call the repaint() method: public void repaint(); which in turn calls update(...)
Note: The repaint() method is almost never overridden by the programmer



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Feb 6 1999