public IBasicTableModel getModel() {
return new IBasicTableModel() {
public int getRowCount() {
System.out.println("called many times....");
return getServiceLayer().countTotalCategoryRow(getKeyword());
}
}
当我尝试这个并在控制台上打印输出时,它显示这个方法 getRowCount() 被多次调用。这在挂毯4中正常吗?