if (rowBeingEdited > -1 && columnBeingEdited > -1) { if (getValueAt(rowBeingEdited, columnBeingEdited) instanceof JTextField) { remove((Component)getValueAt(rowBeingEdited, columnBeingEdited)); setValueAt(((JTextField)editorComp).getText(), rowBeingEdited, columnBeingEdited); } rowBeingEdited = -1; columnBeingEdited = -1; } editorTimer.stop(); editorComp = null; cellEditor = null; requestFocusInWindow(false);
  public void editingStopped (ChangeEvent event)  {    repaint();  }