File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes paint() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "paint()" Watch "paint()" New topic


Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

i have a method in my program that disturbs me a little. it is a method in a class that extends JPanel.

it works just fine but it calls paint() directly

Visit my download page
Darryl Burke

Joined: May 03, 2008
Posts: 5115

Nothing disturbing about painting a Component to a BufferedImage.

luck, db
There are no new questions, but there may be new answers.
I agree. Here's the link:
subject: paint()
It's not a secret anymore!