aspose file tools*
The moose likes Applets and the fly likes Saving content of an Applet as a picture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Saving content of an Applet as a picture" Watch "Saving content of an Applet as a picture" New topic
Author

Saving content of an Applet as a picture

Tokai Namnai
Greenhorn

Joined: Nov 02, 2005
Posts: 5
I have no idea where to start. Some example would be best, but if you guys can give me some idea about where to look at, that would be appreciated too.

I have this applet that is showing a map. I need to save it as a picture.

what to do?

thanks for looking.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8925
    
    9

Assuming you are using Windows:
Press Ctrl+PrintScreen
Paste into your favorite image editing software.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Tokai Namnai
Greenhorn

Joined: Nov 02, 2005
Posts: 5
thanks for the reply. but alt+printscreen will copy the whole webpage not only the applet. I need only the webpage after clicking a button, and that should open the "save" window.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
There are various shareware print-screen enhancements that allow you to just take a picture of the active window (or even just a rectangle that you define with the cursor). Google should help you find them pretty quickly.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Saving content of an Applet as a picture