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

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