private void SendButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_SendButtonActionPerformed
        chat.sendMessage(NewMessageTextArea.getText());
        MessagesTextArea.append("Me: " + NewMessageTextArea.getText() + "\n");
        NewMessageTextArea.setText(null);
    }
This method is called from within the constructor to
initialize the form.
WARNING: Do NOT modify this code. The content of this method is
always regenerated by the Form Editor.
examples/chat/ChatFrame.java