3
Contributors
4
Replies
5
Views
12 Years
Discussion Span
Last Post by dakkar
0

I'm confused, do you want the text to be:

more than one color,
the text to be covered in a yellow like color as if highlighted,
or just be a different color other than black

0

sorry i didn't see the html code part, so u want it to be similar to JLabel where u can put html code in there? or just to do some syntax hightlighting?

lol, just added two more cases to the previous

0

syntax highlighting. I haven't found to much online about creating one in java.

0

I think you must use a simple parser...
another (but heavy) solution is the use of regular expressions

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.