The Artima Developer Community
Sponsored Link

Java Answers Forum
paint() vs repaint() vs update() ???

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
M Johnson

Posts: 4
Nickname: manova
Registered: Apr, 2003

paint() vs repaint() vs update() ??? Posted: May 5, 2003 9:26 PM
Reply to this message Reply
Advertisement
Could somebody please explain what are the differences among these three graphical methods? I am getting really confused by them.

- paint(Graphics g)
- repaint(Graphics g)
- update(Graphics g)

When do I need them? Where do I use them? How do I use them? What differences do I have to concern with when applying them in an application and in an applet?

Topic: Swing applet - bank account Previous Topic   Next Topic Topic: Java mail questions.......need help

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use