@Override
    public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
      if (aValue != null) {
        switch (columnIndex) {
          case 0 -> myRows.get(rowIndex).key = (String)aValue;
          case 1 -> myRows.get(rowIndex).value = (String)aValue;
        }
      }
    }
@Override
    public void setValueAt(Object aValue, int rowIndex, int columnIndex)