how to accept only integers with or without decimals in a JTextField?

Printable View