class BucketTableModel extends DefaultTableModel {
//设置Table项不可修改
public boolean isCellEditable(int row, int column) {
return false;
}
}
DefaultTableModel tableModel = new BucketTableModel();
class BucketTableModel extends DefaultTableModel {
//设置Table项不可修改
public boolean isCellEditable(int row, int column) {
return false;
}
}
DefaultTableModel tableModel = new BucketTableModel();