title: text field only accept numeric input
body: <p>I have a jframe with a text field. I want to ask how can only accept input text field containing numbers, so when users enter the letters will not be accepted</p>