Scale « JEditorPane « Java Swing Q&A





1. is it possible to zoom/scale font size (and image size) in JEditorPane    stackoverflow.com

Is it possible to somehow ZOOM text and pictures in JEditorPane. I dont like to go through all the HTML pages to make font size bigger.

2. Scaling font in JEditorPane HTML rendering    coderanch.com

The problem that I'm running into is that an HTML file that I'm trying to show in a JEditorPane appears with a smaller font size than when I view the file in Internet Explorer or Firefox. I created a JEditorPaneZoom class (see below) which does scale the text correctly, however, the centering of the text is off and the text doesn't ...