src/net/java/sip/communicator/impl/gui/main/chat/ChatPanel.java
/**
     * Sends current write area content.
     */
Sends current write area content.
Sends current write area content .
public void sendButtonDoClick()
    {
        if (!isWriteAreaEmpty())
        {
            new Thread()
            {
                @Override
                public void run()
                {
                    sendMessage();
                }
            }.start();
        }
        requestFocusInWriteArea();
    }
public void sendButtonDoClick ( ) { if ( ! isWriteAreaEmpty ( ) ) { new Thread ( ) { @ Override public void run ( ) { sendMessage ( ) ; } } . start ( ) ; } requestFocusInWriteArea ( ) ; }
Sends current write area content.
Sends current write area content .
//make sure the focus goes back to the write area