title: Java - Converting a text area to a string
body: <p>I am having a little trouble here, I want to convert a text area into a string, so i can store it in a new string and pass it to a txt file. Here is my code:</p>
  
  <pre><code>// ta is my textArea, things is a String
  
  things = ta.toString();
  outputFile.println(things);
  closeFile();
  </code></pre>
  
  <p>But when i do this it is literally taking everything about the textArea and putting it into a string. I just want to put the text into a string, not all the values of the textArea. Any suggestions?</p>