Screen dump of JPanel to Image
I'm working on an extensive error dialog which will send all relevant information to a support apparatus. This includes collecting the stack-trace received from the exception, java console log and a screen dump of the underlying JPanel.
The dialog is a modal dialog residing on top of the JPanel in question. I can retreive the parent panel's Graphics object and need to print the JPanel with all it's children to an Image object.
This should be possible, but how?
Another thing, is the java console available from the client code? The code runs as an applet on Windows clients.

