Data Validation « JTable « Java Swing Q&A





1. Help: JTable with data validation    coderanch.com

It seems none of you Swing Gurus have reviewed my dirty code above. In fact, this is an interesting problem. Again, the program works fine in accepting user input. The problem is in setting the value on the table within the program by clicking the "Test" button. I found out that if I set all fields on the table model as ...

3. need opinion on how to implent data validation on jTable    forums.oracle.com

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 ...