partial coloring of texts in the awt
843807Feb 3 2003 — edited Feb 10 2003Hi,
I'm working on project in which I use a message window (kinda like a chat window).
What I would like to do is display a special kind of messages in a different color so that they stand appart from the normal messages. I tried to play with setforeground but that function changes the whole text in the window instead of just the "special" text. I know quite a few things about the AWT but I fear that I'm still a newbie if it comes to colors and images. Is there anyone who knows a simple solution for this (in my opinion not so difficult) problem?
Any help is appreciated!
Rikko
PS. I am not able to use swing for this project. So any help should focus on the awt. :(