title: How to limit user to input only numbers?
body: <p>I am currently creating this java GUI that will ask the user to input 10 entries, then use the values to execte the next action.</p>
  
  <p>I want only numbers or decimal point to be inputted inside such that it can only be a float value.</p>
  
  <p>If it is not number or decimal point, it should prompt the user to input that specific entry again before the next action is executed.</p>
  
  <p>How should I do it?</p>