Great, makes sense. Now if I use this, how do I get
the multiple highlighting? I do not see anything in
the JTextPane that lets me do this?
Thanks,
Jeff
-----Original Message-----
From: John Zukowski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 23, 2001 9:47 AM
To: Jeff Leuschner; Swing Mailing List
Subject: Re: Highlighting multiple items in a text area
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