Two Laptop Bag
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 Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "paintComponent()" Watch "paintComponent()" 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()
It's not a secret anymore!