// Cycle through all rows
for (int row=0; row < orderTable.getRowCount();++row)
{
// Cycle through all columns
for (int col=0; col < orderTable.getColumnCount();++col)
{
// Print out values of cells at (row,col) coordinates
System.out.println ("Row " + row + ", " +
col + ": "
+orderTable.getCell(row,col) );
}
}作者: zihua 时间: 2007-9-25 09:54
新手,看着代码很多