0

I am creating a notepad application .... and I want to change the font of the selected text in the JEditorPane .... but when I change the font now ... it changes the font of the whole text .... same is the problem with background and foreground colors.... :o

2
Contributors
1
Reply
2
Views
14 Years
Discussion Span
Last Post by Pogo
0

You need more then a simple TextArea. Take a look at javax.swing.JEditorPane.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.