need opinion on how to implent data validation on jTable
Hi,
I have developed an application that does a great deal of data entry and manipulation through JTables.
However, I have been asked to perform some validation on the data contained in the cells.
Before doing so, I need to know if it is better for me to implement the validation on the fly (e.g. while JTable setValueAt or TableModel.getValueAt()) or by using a simple button on the GUI that performs the validation manually and informs the user accordingly.
I am afraid that "on-the-fly" validation may cause a great overhead while manual validation may let the user add data while not knowing that something is wrong...
any advice would be greatly appreciated!

