This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Highlighting Text in JEditorPane/JTextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Highlighting Text in JEditorPane/JTextArea" Watch "Highlighting Text in JEditorPane/JTextArea" New topic
Author

Highlighting Text in JEditorPane/JTextArea

Anjan Pendem
Greenhorn

Joined: Nov 15, 2001
Posts: 1
Is it possible to highlight a piece of text in a JEditorPane/ JTextArea. If so, please help me, how can I make a particular portion of the text highlighted in either JEditorPane or JTextArea?
 
jQuery in Action, 2nd edition
 
subject: Highlighting Text in JEditorPane/JTextArea
 
Similar Threads
Help needed with emoticons in a chat application
Regarding java.awt.TextArea
HTML in JTextArea
How to display more than one text colors in JTextArea?
Multiple text selection in JTextArea