textArea.append(message + "\n");
updateTextArea(message);
    public void actionPerformed(ActionEvent e) {        Object source = e.getSource();        // let's take care of textField        if (source == textField) {            String message = textField.getText();            if (message.startsWith("/")) {                // commands that start with "/"                if (message.toLowerCase().indexOf("nickserv identify ")==-1){                    textArea.append(message + "\n");                }                message = message.substring(1);                textField.setText("");                parentPanel.parseSendToCommand(message);            }            else {                // update textArea                textArea.append(message + "\n");                textField.setText("");                parentPanel.parseSendToCommand(message);            }        }    }