Check out example codes for "jtable get get row". It will help you in understanding the concepts better.

Code Example 1

public String[] getRowAt(int row) {
     String[] result = new String[colNumber];

     for (int i = 0; i < colNumber; i++) {
         result[i] = table.getModel().getValueAt(row, col);
     }

     return result;
}

Learn ReactJs, React Native from akashmittal.com