.setappend(string)
system.out
String strExistingText = jTextArea.getText();
jTextArea.setText(strExistingText + "\n" + yourString);
System.out.println(yourString);
appendText(yourText);
appendText(yourString);
yourPanel.getTextArea().appendText(yourString);
public JTextArea getTextArea(){return yourTextArea;}