Capturing Applet as an image
I am a new bie to java.I have created an applet(like a drawing area/writing area) using Swings.i created a jar for that and called that jar in html,and i am getting the applet in html.
i have web server running on my machine.in the html page, it has my applet and a html save button.
my question is if i draw or write something in my applet and when i click the save button,it(applet) should be captured and saved as an image.
how can i do that?
Thanks in advance