table.getAdaptee().setVisibleRowCount(rows);
}
public void setCheckedColumns(Collection<DatabaseColumn> cols) {
checkSelectable();
KongaRowTableModel model = table.getModel();
for (int row = 0; row < model.getRowCount(); ++row) {
DatabaseColumn col = (DatabaseColumn) model.getRowObjectAt(row);
model.setValueAt(cols.contains(col), row, 0);
}
}