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 managed to get this working associating a two dimension array to flag if each cell has errors or not.
The problem is that the user must be able to reorder the table (by column). I have to store the error flag in the table model, not separatly. Anyone has ideas how to do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…