title: Convert JTextField input into an Integer
body: <p>I am new to JAVA, I am trying to convert an input from a JTextField into an integer, I have tried loads of options but nothing is working, the eclipse is always giving me an error and the errors are not making sense to me.</p>
  
  <p>import java.awt.Graphics;
      import java.awt.Color;</p>
  
  <pre><code>public class circle extends Shape{
  
  public int x;
  public int y;
  public int Radius;
  
  public circle (int Radius, int x, int y, Color c){
      super(c);
      this.x = x;
      this.y = y;
      this.Radius = Radius;
  }
      public void draw(Graphics g){
          g.setColor(super.getColor());
          g.fillOval(x-Radius, y-Radius, Radius * 2, Radius * 2);
      }
   }
  </code></pre>