title: using getText() with a double
body: <p>I am trying to get the content of a <code>JTextField</code> and I am setting the contents to a double variable.</p>
  
  <p>However I think I need an alternative as I am unable to use <code>getText()</code> as it is only for string variables?</p>
  
  <pre><code>numbers = webpage.getText();
  </code></pre>
  
  <p>returns the error incompatible types?</p>