I am learning Java now and I was wondering how to create JInternalFrames in a JFrame and save them as files. I draw some objects on the internal frames and I have a button \'Sav
Read the JDesktopPane API. You will find a method that will get you the currenctly selected internal frame.
JDesktopPane
Check out Screen Image. This will allow you to create an image of any Swing component. It will also allow you to save this image to a file.