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.


Html Editor

Posted by Paul on May 22, 2001 at 12:30 PM

Hallo Tuan

I am making a HTML Editor with JTextPane and HtmlEditorKit too !!!!!

I have almost finished the editor.
I got a question :how can you use the
Html-Fontsizes (1-7)!!! in JTextPane ???

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.

Cau you help me ??

Please contact me


Sponsored Links

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