Basic HTML version of Foils prepared 13 July 98

Foil 32 Definition of update

From Java Academy I:Elementary Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo


1 So here is update(...) in its entirety: public void update( Graphics g ) { // clear the applet and call paint: int w = getSize().width; int h = getSize().height; g.setColor( getBackground() ); g.fillRect( 0, 0, w, h ); g.setColor( getForeground() ); paint( g ); }

in Table To:


© 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 Fri Jul 24 1998