You need to set the background color of the content when you add the text
to the document model. Fun attribute stuff found with the text components.
I show how to work with this in my book.... ;-)
Code's available online at least at www.apress.com if you don't have the
book....
J
At 04:56 PM 1/23/2001 -0600, Jeff Leuschner wrote:
>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?
John Zukowski, Content Director
http://www.jGuru.com -- Your view of the Java Universe
Focus on Java Guide - http://java.about.com
The limits of my language are the limits of my world. - Wittgenstein
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing