public void sortByColumn(int column, boolean ascending) { this.ascending = ascending; sortingColumns.removeAllElements(); sortingColumns.addElement(new Integer(column)); sort(this); super.tableChanged(new TableModelEvent(this)); }
public void setModel(TableModel model) { super.setModel(model); reallocateIndexes(); }
public void tableChanged(TableModelEvent e) { reallocateIndexes(); super.tableChanged(e); }