void (@NotNull AnActionEvent e) { selectedCapturePoints(table).forEach(c -> { try { int idx = myTableModel.add(c.clone()); table.getSelectionModel().setSelectionInterval(idx, idx); } catch (CloneNotSupportedException ex) { LOG.error(ex); } }); }