📜  jtable 获取行 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:03.396000             🧑  作者: Mango

代码示例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;
}