aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Sending JTabbedPane to a printer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Sending JTabbedPane to a printer " Watch "Sending JTabbedPane to a printer " New topic
Author

Sending JTabbedPane to a printer

James Howerton
Ranch Hand

Joined: Mar 14, 2009
Posts: 82
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?

Thanks
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 8441

Recommended reading
http://java.sun.com/developer/technicalArticles/Printing/SwingPrinting/


[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sending JTabbedPane to a printer
 
Similar Threads
How to print a document?
Java Printing (automated)
Using applet to print
Printing API Question
JOGL 1 vs JOGL 2.0?