src/main/java/org/jwellman/swing/jtable/TableColumnManager.java
public void reset() {
        table.getColumnModel().removeColumnModelListener(this);
        tableColumnModel = table.getColumnModel();
        tableColumnModel.addColumnModelListener(this);

        // Keep a duplicate TableColumns for managing hidden TableColumns
        final int count = tableColumnModel.getColumnCount();
        allColumns = new ArrayList<TableColumn>(count);
        for (int i = 0; i < count; i++) {
            allColumns.add(tableColumnModel.getColumn(i));
        }
    }
/**
     * Reset the TableColumnManager to only manage the TableColumns that are
     * currently visible in the table.
     *
     * Generally this method should only be invoked by the TableColumnManager when
     * the TableModel of the table is changed.
     */
Reset the TableColumnManager to only manage the TableColumns that are
currently visible in the table.

Generally this method should only be invoked by the TableColumnManager when
the TableModel of the table is changed.
Reset the TableColumnManager to only manage the TableColumns that are currently visible in the table . Generally this method should only be invoked by the TableColumnManager when the TableModel of the table is changed .
public void reset() {
        table.getColumnModel().removeColumnModelListener(this);
        tableColumnModel = table.getColumnModel();
        tableColumnModel.addColumnModelListener(this);
        final int count = tableColumnModel.getColumnCount();
        allColumns = new ArrayList<TableColumn>(count);
        for (int i = 0; i < count; i++) {
            allColumns.add(tableColumnModel.getColumn(i));
        }
    }
public void reset ( ) { table . getColumnModel ( ) . removeColumnModelListener ( this ) ; tableColumnModel = table . getColumnModel ( ) ; tableColumnModel . addColumnModelListener ( this ) ; final int count = tableColumnModel . getColumnCount ( ) ; allColumns = new ArrayList < TableColumn > ( count ) ; for ( int i = 0 ; i < count ; i ++ ) { allColumns . add ( tableColumnModel . getColumn ( i ) ) ; } }
Reset the TableColumnManager to only manage the TableColumns that are
 currently visible in the table.
Reset the TableColumnManager to only manage the TableColumns that are currently visible in the table .
// Keep a duplicate TableColumns for managing hidden TableColumns