private @NotNull List<Object> storeSelection() {
    ListSelectionModel sm = table.getSelectionModel();
    sm.setValueIsAdjusting(true);
    List<Object> sel = new ArrayList<>();
    for (int index : sm.getSelectedIndices()) {
      sel.add(table.getModel().getValueAt(index, 0));
    }
    return sel;
  }
private @NotNull List<Object> storeSelection()