Stop the beep on JFormattedTextField
When the user inputs an invalid value into JFormattedTextField, the default behavior is to emit a beep. To avoid this annoying beep, simply override the invalidEdit() method.
class MyJFormattedTextField extends JFormattedTextField {
...
protected void invalidEdit() {}
...
}