B
Boris Pelakh
I have a JTable with editable fields. The values of one of the columns
must be unique. Therefore, I would like to reject any non-unique value
entered into that column.
Ideally, pressing 'Enter' would not stop the editing when an invalid
value is in the cell. Alternately, I can just complain on the status
bar and force the user to edit the cell again, but that's not as
pretty.
Is there a hook somewhere in CellEditor to let me do that?
-- Boris
must be unique. Therefore, I would like to reject any non-unique value
entered into that column.
Ideally, pressing 'Enter' would not stop the editing when an invalid
value is in the cell. Alternately, I can just complain on the status
bar and force the user to edit the cell again, but that's not as
pretty.
Is there a hook somewhere in CellEditor to let me do that?
-- Boris