Hi, I am developing a chat application. The messages are displayed in a JTextPane. How do i print it?
posted 15 years ago
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.