Impossible.
JTextArea only supports single area highlighting.
You need to use a JTextPane for multi-area highlighting.
At 09:05 AM 1/23/2001 -0600, Jeff Leuschner wrote:
>I'd like to highlight several different items within a single
>JTextArea. For example, if I was putting this message into
>a TextArea, I might want to highlight all words beginning
>with I. How can I easily do that?
John Zukowski
Content Director, jGuru.com
Get the FAQs - http://www.jguru.com/faq
Focus on Java - http://java.about.com
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing