I used the method *setText()* in *ChatWritePanel* to set a custom text I
wanted to and then used a *KeyListner *(using TAB key) to send that text.
But when I send the text it is sent with an *extra empty line*. Can some one
please explain why this is happening, and the solution for it?