File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Applet to Image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet to Image" Watch "Applet to Image" New topic
Author

Applet to Image

Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 159
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

Joined: May 03, 2008
Posts: 4642
    
    5

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?


luck, db
There are no new questions, but there may be new answers.
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 159
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

Joined: Oct 31, 2011
Posts: 498

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.


PM Me If You Want to get Urgent Help on Java Programming
Neeba Rebbaca
Ranch Hand

Joined: Oct 21, 2008
Posts: 159
I need the entire screen to save. not mere screenshots.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18655
    
    8

What exactly is it that you want to save, beyond the mere screenshot?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet to Image