InputVerifier with JTable
0 posts in topic
Flat View  Flat View

Posted By:   Craig_Rameirez
Posted On:   Wednesday, January 23, 2002 06:55 AM

I am building an application which needs to verify user input in a number of fields on the screen. The InputVerifier class I am using works well with JTextFields, but when applied to a JTable only performs validation when focus moves off the table as a whole. Since I need to perform verification (and update) on the cells in the table as the user moves through them, this is of little use.

I have tried using custom TableCellEditors returning validated JTextFields, but the validation methods are never called.

Is there any way to perform validation on the cells in a JTable?

About | Sitemap | Contact