The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 2000

Advertisement

Advertisement

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.

Message:

HTMLEditorKit and Font Sizes

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


Hello,

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.






Replies:

Sponsored Links



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