aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JEditorPane" Watch "JEditorPane" New topic


Felipe Walker
Ranch Hand

Joined: Sep 23, 2003
Posts: 41
Is there a way to change the color of only the selected text in the JEditorPane. I have user selectedtextColor and selectionColor, but neither changes the actual text color when it is no longer highlighted.
It is sorta covered in the JavaRanch Style Guide.
subject: JEditorPane
Similar Threads
Different Font Size in JEditorPane
swings (JEditorPane)
Java Print Problem
Setting Defferent Color Of Alphabet In A String
rich text format line spacing in JEditorPane