File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Highlighting Text in JEditorPane/JTextArea" Watch "Highlighting Text in JEditorPane/JTextArea" New topic

Highlighting Text in JEditorPane/JTextArea

Anjan Pendem

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?
I agree. Here's the link:
subject: Highlighting Text in JEditorPane/JTextArea
It's not a secret anymore!