How would I go about validating a JTextField to accept only numbers?

Thanks,

Barella