Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to print the contents of a JTextPane?

Status
Not open for further replies.

Tokarski

Programmer
Jan 31, 2000
6
BR
Hi there... My JTextPane component contains a JTable inside a JScrollPane, some text and then another JTable inside a JScrollPane. How can I print all of these contents, in the order they appear on JTextPane? Thanks for any help...
 
where do you want to print them to? <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Hi Liam.<br>I want to send my JTextPane to a printer. But, I want to print the whole table, and after that, print the text (on the same page), and then print the last table (on the same page, if possible. If not, I want to print part of the table on the current page, and the other part on another page).<br>Thanks,<br>Marcel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top