message display problem in chat application
hello guys,
i have implemented one chat application.In gui i m using as usual one jtextarea and one jtextfield,one jbutton,,,,ok...
now problem is to display the message in full under standable meaning..
means when client type a long message the message will cut from between word from some where..i.e.if i write "heloo how r u.what about download."
than in textarea it will diaply like this
"heloo how r u.what ab
out download."
means here about word is breaks up. i need to solve this problem...
please help me...

