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

Applet to Image

 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi to all.

I need to save my entire applet content as Image(there is no specific format). Problem here is, need to save the entire drawn things not the screenshots.

My applet is really very large one. Please help me.

Thanks all.
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Save it where? On the server?

And content is saved as files (or to a database) -- not as Image.

Are you familiar with BufferedImage and ImageIO?
 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,i'm.


Need to print that image or save as file. Whether server or local machine doesn't matters.
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neeba Rebbaca wrote:Yes,i'm.


Need to print that image or save as file. Whether server or local machine doesn't matters.


You can use the java.awt.Robot class to capture the screen.
 
Neeba Rebbaca
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need the entire screen to save. not mere screenshots.
 
Paul Clapham
Sheriff
Pie
Posts: 20762
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly is it that you want to save, beyond the mere screenshot?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic