public void setEntry(Map.Entry<String, String> entry) {
    myNameField.setText(entry.getKey());
    myURLPatternTextField.setText(entry.getValue());
  }
public void setEntry(Map.Entry<String, String> entry)