The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2002



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.


Difference between JEditorPane and JTextPane

Posted by Hiran on February 16, 2002 at 12:06 PM

Hi, can anyone tell me the difference between JEditorPane and JTextPane. Also, if I wanted to create a text area for a user to enter input (similiar to Notepad), except allow the user to use different fonts (ie, one word might be in Times New Roman, and the next word in Arial), what should I use? I know each JTextArea can only display text in one font at a time.


Sponsored Links

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