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 save applet as image 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 "save applet as image" Watch "save applet as image" New topic
Author

save applet as image

htinky kwinky
Greenhorn

Joined: Apr 11, 2008
Posts: 1
how to save an applet generated graph as an image in any format? I have an applet code to generate a graph and want to automatically save that image on the disk to use it later. I want to do this for 13,000 records. Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41147
    
  45
Hello "htinky kwinky"-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.

is there any user interaction happening with the applet? If not, why does it need to be an applet? Applets cause certain complications -especially if you want to perform file I/O- so maybe there are better ways to do this?

This example shows how to save a Graphics2D-generated image to a file.


Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: save applet as image
 
Similar Threads
graphs in jsf
Want simple X-Y graph, save as JPEG
How to Save applet page as a JPG file
editing images then saving
Saving image at runtime