title: How to validate a textfield by checking if its text is integer
body: <p>I have several text fields in a java Swing application. I want to check if the user entered a valid integer in it or not. </p>
  
  <p>Would you advise me on how can I perform such a validation.</p>