Is it possible to change the background color of a Textarea / JTextarea,instead of white, it should be different.I'am creating a chat aplication.The Frame conatins a non-Editable text area which holds all messages.I wish to develop that window like an application window that comes for most utilities, well designed.Initially I want to know to add color to the background,then images as titles,etc.
Regards<BR>Gurpreet Sachdeva<P>For Mock Exams, FAQ, Exam tips and some useful information about Bitshift operator, inner classes, garbage collection,etc please visit: <A HREF="http://www.go4java.lookscool.com" TARGET=_blank rel="nofollow">http://www.go4java.lookscool.com</A>
netharam ram
Ranch Hand
Joined: Aug 09, 2001
Posts: 202
posted
0
Hi, Thank u for u'r code it's working fine.in the same way is there anyway too display the foreground color i.e the text color in different colors.For eg. lets take a chat application, the message sent should be in one color(eg.yellow) & the reply should be in a different color(eg.red). waiting for u'r reply.