update : Java Glossary

update

Clear the area for the component to the background colour by doing a fillrect then paint. update calls paint directly. update routines are often overridden to eliminate the fillrect which will reduce flicker.

/**
* turn off background repaint, because we will paint
* the entire region in paint.
*
* @param g Graphics context on which we paint.
*/
public void update ( Graphics g )
   {
   paint( g );
   }

update does not typically call validate .

update also means to install a more recent version of a program where the newer version is free.

Learning More

Oracle’s Javadoc on update package : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/update.html J:\mindprod\jgloss\update.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.214]
You are visitor number 16,696.