The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


HTMLEditorKit and Font Sizes

Posted by Marcus Beyer on July 23, 2001 at 1:38 PM


I have a similar Problem now, as I need to use explicit
font sizes (e.g. in Points) with JTextPane and HTMLEditorKit.
Did you solve yours?

Best Regards
Marcus Beyer

PS: Deine Mail-Adresse sieht ziemlich deutsch aus.
Du kannst also gerne auf deutsch antworten.

> I am making a HTML Editor with JTextPane and HtmlEditorKit

> If you set the HtmlEditorKit to the JTextPane you can load
> html-documents and display them on the JTextPane like on
> a browser. Then the FontSize 7 ist big!!
> If you use the FontSizeAction(7) in the JTextPane 7 is very small.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us