hi shiva kumar, have the same question. but the color set on to the text area once will be applicable for the entire text in the text area. i wanted to implement the text area as it appears in the Yahoo chat! where each user's messages typed are in different colour. (i.e., one colour for each user) thank you regards sudha
Hi, I posted a similar question that was repelied to by Jane Griscti. I also did quite a bit of research on this topic. For awt you will have to use the Canvas component and if you are using swing you can use the JTextPane. TextArea,JTextArea doesn't support mulitcolor lines. I found this old post at http://www.javaranch.com/ubb/Forum2/HTML/000513.html, I hope this helps......GOOD LUCK !!
Post by:autobot
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
a bit of art, as a gift, the permaculture playing cards