title: Java add text to textArea and textField
body: <p>I am trying to make a JTextArea and a JTextField that has pre-set text in it already so when the user clicks in the box, they can edit it so something else.</p>
  
  <p>Here's what I have for my text field:</p>
  
  <pre><code>private JTextField gridSizeField = new JTextField(6);
  </code></pre>
  
  <p>and my text area:</p>
  
  <pre><code>private JTextArea status = new JTextArea(20, 20);
  private JScrollPane statusScroller = new JScrollPane(status);
  </code></pre>