void (ChangeEvent e) { int row = getEditingRow(); super.editingCanceled(e); if (row >= 0 && row < myModel.getRowCount() && StringUtil.isEmpty(myModel.getRowValue(row).name)) { myModel.removeRow(row); } }