title: What is the difference between Text and String?
body: <p>In going through the JavaFX tutorial I've run into the Text, and it's being used where I would have thought a String would be used. Is the only difference between</p>
  
  <pre><code>String foo = new String("bat");
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Text bar = new Text("bat");
  </code></pre>
  
  <p>that bar cannot be edited, or are there other differences that I haven't been able to find in my research?</p>