i want to know how i can validate fields in JTable.