posted 17 years ago
Hi all,
in a chat program i used a JTextpane in either send area and recieve area
the question is how to deliver the massage with it's color ,font and size
if my message contains three words the first one colored with red and the second with black and the last with blue
when i try to send this message by sending sendArea's document
the sever recive this document and inserting it to the chat paper and sends the chat paper to all clients the message is recieved correctly but all the words with the red color .
thanks ,
Maged