wood burning stoves
The moose likes Swing / AWT / SWT and the fly likes Sending JTabbedPane to a printer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Sending JTabbedPane to a printer " Watch "Sending JTabbedPane to a printer " New topic

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?

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10747

Recommended reading

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link: http://aspose.com/file-tools
subject: Sending JTabbedPane to a printer
It's not a secret anymore!