(Omit source code)
g.setColor( getBackground() ); g.fillRect( 0, 0, getSize().width, getSize().height );