From Java Academy II:Advanced Java NPAC/ECS Java Academy -- February to April 98. byTom Scavo
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 ); }
The buffer is copied to the applet window as a last step