*
The moose likes Applets and the fly likes paintComponent() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "paintComponent()" Watch "paintComponent()" New topic
Author

paintComponent()

Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, what's the difference between paint(g) and paintComponent(g)? Does paintComponent(g) paint on the Graphics object g?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: paintComponent()
 
Similar Threads
Customed JButton text cannot be seen
Jbutton on top of fillRect
weird and unwanted duplicate component is being painted, moving a component(Simple animation)
paintComponent(g)
Context Graphic