JTable Custom Editors
I have a JTable and I want to add in two different forms of customization.
First, I want to validate that the String they enter into a date column is a valid date and not allow them to stop editing until they either enter a valid date or hit a key to clear the field and move on without putting anything in it.
Second, on some fields I know the exact length of the field. For example, for a column named "Type of Service" it will always be two digits. So I need to two things, one ties in with the first and it is validate that they entered two digits, the second is as soon as they enter in the second digit I want to move to the next field.
Not sure how to make this work with a custom editor. The validation shouldn't be too difficult, but how do I go about moving to the next field when they hit the second digit?

