How to get row with index i froj JTable ? I looked at member functions but there is nothing like getRowAt . Can anybody help ?
Another way of doing it is using the table model's getDataVector() method.
DefaultTableModel tm = (DefaultTableModel) table.getModel(); Vector rowData = tm.getDataVector().elementAt(rowIndex);