title: It's possible in Swing configure a JTextField to only accept numbers?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1313390/is-there-any-way-to-accept-only-numeric-values-in-a-jtextfield">Is there any way to accept only numeric values in a JTextField?</a>  </p>
  </blockquote>
  
  
  
  <p>There any functionality on the JTextField of Swing that allow only positive numbers inside a range of numbers?</p>
  
  <p>Example: I can only enter numbers between 10 and 30. Numbers out of this range will not even appear in the field.</p>