If you're trying to save an image then you have to work with the image.Use the proper API. (See working with images on java.sun.com).
If you're trying to *print* a form, then i don't thing that there is a way
you should do that, because this is an operating system's ability.I mean that in other languages, like C++,VB use some System's libraries (like MCI) to print a form etc. The reason is that the programming languages they can use such libraries, are written in system's code-base.And to be more specific: the operating system are written with these languages(talking for C++).Java is Platform Indepedent so i think what you're looking for can't be done.If there is a way to save a panel as an image without using system's libraries, post it if you'll find it, because i don't know any.Java is a low level to high level language,and probably there is a way, but i think it is very advanced.
I'm not telling you to stop looking, I'm telling you what i think.It is intresting , and if you find anything post it!
Best regards
Nikos sokaf
