title: "int cannot be dereferenced" error
body: <p>When answering, you kept the programming slang to a minimum. I keep receiving the same error: </p>
  
  <pre><code>int cannot be dereferenced 
  </code></pre>
  
  <p>I have a text field where the user inputs an integer and what I'm trying to do is receive that input and store it in a variable. The text field's variable is <code>pricePay</code>. I could give more information if needed, am I putting this line of code in the wrong place? am I missing something?</p>
  
  <pre><code>private void pricePayActionPerformed(java.awt.event.ActionEvent evt) {                                         
      int pricePay = Integer.parseInt(pricePay.getText());
  }                                        
  </code></pre>