File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "paintComponent(g)" Watch "paintComponent(g)" New topic


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:
subject: paintComponent(g)
It's not a secret anymore!