I have a JTable that needs cell validation for the cells where the user can input text. When a user enters invalid text the border of the cell turns red.
I\'ve manag
Also consider a custom TableCellEditor, seen here and below. Adding an InputVerifier, as shown here, is a good alternative.
As the user must be able to reorder the table by column:
JTableprovides methods that convert from model coordinates to view coordinates —convertColumnIndexToViewandconvertRowIndexToView— and that convert from view coordinates to model coordinates —convertColumnIndexToModelandconvertRowIndexToModel.
