I understand the framework try to update the integer attribute value
each time the user change the textfield value so it throws exception
if the format is not convertible to integer. But I wonder how to
correctly handle these exceptions ?
I mean in this use case, I don't really care the format conversion
errors untill the "save" button is pressed.
Is there a way to register an exception handler ?
Another idea should be to call custom (user code) setter instead. The
framework could look for a custom setter that would fit before trying
its own conversion. In my case it would look for a "setAge(String)" as
attribute is "age" and binding source is JTextField.text which is a
String.
Well, I can also do with JSpinner, but that's just not fun, and not a
generic solution.