I have a JDesktopPane program and I would like to know if it is a big process to send an Object to a printer. The contents of the JInternalFrame which holds a JTabbedPane with the content I would like to be able to send to a printer print. I have a menu on the JDesktopPane and a print menuItem with an actionListener but I'm not sure how to find the JTabbedPane with the content on it.
I'm not sure where to start. Do I have to serialize the JTabbedPane and find the FileOutPutSteam and manipulate it that way?