Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

jtable get get row

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;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jtable #row
ADD COMMENT
Topic
Name
9+7 =