• Post Reply Bookmark Topic Watch Topic
  • New Topic

Save pane contents as image?  RSS feed

 
Ranch Hand
Posts: 832
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JApplet and I have a bunch of things "drawn" inside of it. Is there a way in the java class to export the applet's contents as an image? Appreciate any help anyone can give. Thanks.
 
Ranch Hand
Posts: 2828
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Screen Image class should do what you want.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!