Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

paint()

 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing disturbing about painting a Component to a BufferedImage.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic