IntList () { mySelectedRows.clear(); int min = selectionModel.getMinSelectionIndex(); if (min >= 0) { for (int i = selectionModel.getMaxSelectionIndex(); i >= min; i--) { if ((myEditorRow >= 0 && i == myEditorRow - 1) || (i != myEditorRow && selectionModel.isSelectedIndex(i))) { mySelectedRows.add(i); } } } else if (myEditorRow > 0) { mySelectedRows.add(myEditorRow - 1); } return mySelectedRows; }