title: appending text in a jTextBox
body: <pre><code> public void actionPerformed(ActionEvent evt) {// handle button event
  
          Object source = evt.getSource();
          String k = evt.getActionCommand();
          jTextArea1.append(k);
      }
  </code></pre>
  
  <p>i have the code above and an error at <code>jTextArea1.append(k);</code>. The error am getting is </p>
  
  <blockquote>
    <p>cannot find symbol   symbol:   method
    append(java.lang.String)   location:
    variable txtArea of type
    javax.swing.JTextField</p>
  </blockquote>
  
  <p>if i use jTextArea1.settext(k); , it works but i want to append text the existing  </p>