question: protected void moveDownSelected ( ) { int selectedIndex = table . getSelectedRow ( ) ; if ( selectedIndex > - 1 ) { int index = data . moveDown ( indexToModel ( selectedIndex ) ) ; setRowSelected ( indexToView ( index ) ) ; } }
target:  Moves the selected item down in the model (and table). This can behave kind of odd when the table is filtered or sorted automatically, so it should not be used then.