Java Glossary : update

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : U words : update.

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.


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 1674.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/update.html J:\mindprod\jgloss\update.html