I have a jTable calendar that works just fine and I just want the user not be able to edit anything. How can I do it?
Thanks a lot!!
PS: I use netbeans 6.9.
DefaultTableModel tableModel = new DefaultTableModel() {
@Override
public boolean isCellEditable(int row, int column) {
//all cells false
return false;
}
};
table.setModel(tableModel);