查下jdk doc,table扩展TableModel接口,
调用isCellEditable(int rowIndex, int columnIndex);