private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { jTextArea1.setText(jTextField1.getText());}
class GUI ... { private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { sb.append(jTextField1.getText()); // speichern jTextField1.setText(""); // Textfeld wieder freimachen } private StringBuilder sb;}