public void shuffleSelectedLeftRowsToRightTable ( ) { final int [ ] selectedRows = leftTable . getSelectedRows ( ) ; final int lastIndex = selectedRows . length - 1 ; for ( int i = lastIndex ; - 1 < i ; i -- ) { final int selectedRow = selectedRows [ i ] ; final T row = leftTable . getGenericTableModel ( ) . removeAt ( selectedRow ) ; rightTable . getGenericTableModel ( ) . add ( row ) ; } }
Shuffle selected left rows to right table .