Capture Applet to jpg

Hi, i need some method to capture what the see in the applet in format jpg or gif.I should have to do a web page, with bar graphic and this can be exported to excel.
[179 byte] By [yoMaxa] at [2007-10-3 3:19:06]
# 1
If you don't need this to be done programmatically (I can't tell from your question), you can press "Ctrl+PrintScrn" to copy the screen to the clipboard, then paste what is on the clipboard into a Excel.
MLRona at 2007-7-14 21:11:00 > top of Java-index,Java Essentials,Java Programming...
# 2

No, the graphic what the see in the web page must be show in jpg.

I need a code than can convert a applet in jpg for show in browser.

Then, later the user save the document as html file, and can open in Excel, the graphic as image.

But if the graphic is a applet and save the document, can't open in Excel.

yoMaxa at 2007-7-14 21:11:00 > top of Java-index,Java Essentials,Java Programming...
# 3
Perhaps the Robot class will be able to capture the applet image.
klana001a at 2007-7-14 21:11:00 > top of Java-index,Java Essentials,Java Programming...