This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 8836
    
    7

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: 41124
    
  45
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Saving content of an Applet as a picture
 
Similar Threads
Query
icons facing in wrong direction
Applet to use Servlet Context Object in jsp
It is not true, Database does not shows through Applet
Problem with Switch statements!