private void messageTextFieldKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_messageTextFieldKeyTyped
        if (evt.getKeyChar() == '\n') {
            sendButtonActionPerformed(null);
        }
    }//GEN-LAST:event_messageTextFieldKeyTyped