public void cancelEditing() {
    WriteCommandAction.writeCommandAction(null).run(() -> {
      if (myEditor.getEditor() != null) {
        myEditor.getEditor().getDocument().setText(myLastValue.toString());
      }
    });
    myEditor.getComponent().repaint();
    stopCellEditing();
  }
public void cancelEditing()