class StringTableCellEditor extends DefaultCellEditor {

  @Override
  public boolean stopCellEditing() {
    try {
      ValueXmlHelper.escapeResourceStringAsXml((String)getCellEditorValue());
      return super.stopCellEditing();
    }
    catch (IllegalArgumentException exception) {
      getComponent().setBorder(new LineBorder(JBColor.RED));
      return false;
    }
  }

    StringTableCellEditor();
  @VisibleForTesting  StringTableCellEditor(@NotNull JTextField component);

}