Hello When I double click on a cell in my table, I can edit the data of that cell. Is there a way to prevent this? Thanks
Mag Hoehme
Ranch Hand
Joined: Apr 07, 2002
Posts: 194
posted
0
Hi, yes, you can prevent the editing. The TableModel interface declares a method "public boolean isCellEditable (int row, int col)". You can implement this method, and let it always return false: