Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sending JTabbedPane to a printer

 
James Howerton
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic