[Advanced-java] Saving the contents of a JInternalFrame as a Image

B. Prashanth prashanth at ooty.tenet.res.in
Thu Apr 10 10:06:13 2003


Hello,
	I have a JInternalFrame with many components.  The InternalFrame
has a scrollbar so that the contents can be viewed.  Basically a network
map is displayed in it.  

I have a  requirement to save the map displayed in the internal frame as
an image. In case the image is too large to diplay in the internalframe 
I'm not able to get hold of the complete image, instead the saved image
just has the currently viewed portion. 
How do I go about saving the complete image ? Any Ideas ?

Thanks

- Prashanth