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
Difference between JEditorPane and JTextPane
Posted by Hiran on February 16, 2002 at 12:06 PM
Hi, can anyone tell me the difference between
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.