• Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet to Image  RSS feed

 
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.
 
Bartender
Posts: 5167
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.
 
Ranch Hand
Posts: 515
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.
 
Sheriff
Posts: 22948
43
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!