if (tps != null) {
dtcm.addColumnModelListener(new ColumnListener());
jta = new JTable(this, dtcm);
setVisible(tps.getTableColumnsArray(table), jta);
setMaintainSortOrder(tps.getTableMaintainSortOrder(table));
TableColumnsMenu tcm
= new TableColumnsMenu(table, getColumnNames(), tps);
TableHeaderListener.install(jta, tcm.getPopupMenu());
}
else {
jta = new JTable(this);
TableHeaderListener.install(jta);
}