This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I've searched the forums and the API, but I can't find what I'm looking for!
I have say, a JTextArea, in which there are some strings. My problem is that I want the strings to be different colours. The only method I can find it the setForeGround(Color c) for the JTextArea, but this is no good as it colours all the text the same!
Surely there is a way to colour individual letters/words/strings differently??
If there isn't - please let me know. I found a post from 2001 asking something similar but with no answers! eek
Thanks for your time
Mike [ February 17, 2005: Message edited by: Mike Smike ]