Basic HTML version of Foils prepared
13 July 98
Foil 84 The update Method
From
Java Academy II:Advanced Java NPAC/ECS Java Academy --
February to April 98
.
by
Tom Scavo
1
All drawing takes place in the buffer: public void update( Graphics g ) { gOff.setColor( getBackground() ); gOff.fillRect( 0, 0, w, h ); paint( gOff ); g.drawImage( buffer, 0, 0, this ); }
2
The buffer is copied to the applet window as a last step
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 Sat Nov 28 1998