aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "paint()" Watch "paint()" New topic
Author

paint()

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

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


SCJP
Visit my download page
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4522
    
    5

Nothing disturbing about painting a Component to a BufferedImage.


luck, db
There are no new questions, but there may be new answers.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: paint()
 
Similar Threads
compile error
How to store what the JPanel draw
Setting java.awt.Image background color
Printing Question
Convert between AWT Image and byte array