A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Swing / AWT / SWT
How to print the contents of a JTextPane
Joined: Jan 17, 2001
Jan 16, 2002 23:49:00
I am developing a chat application. The messages are displayed in a
. How do i print it?
Joined: Sep 18, 2001
Jan 17, 2002 07:21:00
You can use the print mechanisms in java.awt or Java 2D. If you check out a Java 2D book, you should get the info you want.
A good book that I used was Core JFC, by Kim Topley> Though it's not a 2D book, it does contain some good printing examples.
subject: How to print the contents of a JTextPane
how to print from a JTextPane (or maybe from a DefaultStyledDocument)
jtextpane to printer
how to print the contents of jtextpane.
Printing a JTextPane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014