自定义主键那一列使用的 TableCellEditor下面是 CellEditor 里面 stopCellEditing 方法的源码注释: /** * Tells the editor to stop editing and accept any partially edited * value as the value of the editor. The editor returns false if * editing was not stopped; this is useful for editors that validate * and can not accept invalid entries. * * @return true if editing was stopped; false otherwise */ public boolean stopCellEditing();
/**
* Tells the editor to stop editing and accept any partially edited
* value as the value of the editor. The editor returns false if
* editing was not stopped; this is useful for editors that validate
* and can not accept invalid entries.
*
* @return true if editing was stopped; false otherwise
*/
public boolean stopCellEditing();