I want a JTextArea with several colors

Hi, I am new here , and english is not my mother tongue, so excuse me if you dont understand my message.
What Im looking for is a class that allow me to have a kind of JTextArea, but with more than just one text color. For example, I would like to write the word "red" in red color, and just later write in the same sentence the word "blue" in blue color. What JTextArea provide me is the chance of write "red" in red color, but when I wanna write "blue" in blue color, I get the entire text of the JTextArea in blue color...
Can some of you help me?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories