aspose file tools*
The moose likes Java in General and the fly likes paintComponent(g) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "paintComponent(g)" Watch "paintComponent(g)" New topic
Author

paintComponent(g)

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: paintComponent(g)