How can I print JEditorPane HTML, having Styled Text (different fonts and sizes), images, tables, etc.?

Sandip Chitale

The chapter 22 of this book answers your quetion. You can download the chapter from http://www.manning.com/Robinson/Chapters.html

It takes into account the fact that Printed Page size is different than the JEditorPane displayed on the screen.

Especially look at section


and use of Class WordProcessor.PrintView

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.