John,
On Tuesday, January 23, 2001, 4:47:04 PM, you wrote:
John> Impossible.
John> JTextArea only supports single area highlighting.
John> You need to use a JTextPane for multi-area highlighting.
No way. The highlighter mechanism is associated with JTextComponent,
so *any* JTextComponent subclass can have multi-area highlighting.
Funny. Months ago, nobody answered my plea for help in this field.
Now that I've solved everything by myself ... :)
Sandor
--
ir A.G.L. Spruit, Utrecht University, the Netherlands
Institute of information and computing sciences
"There is a bit of magic in everything, and then some
loss to even things out" (from: Lou Reed, "Magic and Loss")
_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing