示例#1
0
 public void sortByColumn(int column, boolean ascending) {
   this.ascending = ascending;
   sortingColumns.removeAllElements();
   sortingColumns.addElement(new Integer(column));
   sort(this);
   super.tableChanged(new TableModelEvent(this));
 }
示例#2
0
 public void tableChanged(TableModelEvent e) {
   reallocateIndexes();
   super.tableChanged(e);
 }