In the context of Java AWT (Advanced Windowing Toolkit), 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. This should either be fully automatic or should take at most two clicks:
Windows dithers about with its updates requiring, count ’em, 6 clicks.
This page is posted |
http://mindprod.com/jgloss/update.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\update.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.145.42.140] |
| |
Feedback |
You are visitor number | |