Forums Register Login

when to use repaint ?

+Pie Number of slices to send: Send
Hi,
Could you please tell me the basic difference between repaint and update in applets.I am little bit confused in understanding the diff. between them.
Pl.hlp
Regards
vijay
+Pie Number of slices to send: Send
Hi all,
Can anybody please reply to my query.
I required it urgently
Thanks inadvance
vijay

Originally posted by SUDA VIJAYA KUMAR:
Hi,
Could you please tell me the basic difference between repaint and update in applets.I am little bit confused in understanding the diff. between them.
Pl.hlp
Regards
vijay


+Pie Number of slices to send: Send
Always override update( Graphics g ), but always call repaint(). Repaint has code in it that figures out the graphics context to send to update.

-Nate
[This message has been edited by Nathan Pruett (edited November 13, 2001).]
Is that a spider in your hair? Here, threaten it with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 743 times.
Similar Threads
update and repaint
confused...
Header table
update,paint,repaint
repaint and update
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:10:33.