src/main/java/org/jwellman/swing/jtable/TableColumnManager.java
public void hideColumn(Object columnName) {
        if (columnName == null)
            return;

        for (int i = 0; i < tableColumnModel.getColumnCount(); i++) {
            final TableColumn column = tableColumnModel.getColumn(i);

            if (columnName.equals(column.getHeaderValue())) {
                hideColumn(column);
                break;
            }
        }
    }
/**
     * Hide a column from view in the table.
     *
     * @param columnName
     *            the column name of the column to be removed
     */
Hide a column from view in the table.
@param columnName
the column name of the column to be removed
Hide a column from view in the table . @param columnName the column name of the column to be removed
public void hideColumn(Object columnName) {
        if (columnName == null)
            return;
        for (int i = 0; i < tableColumnModel.getColumnCount(); i++) {
            final TableColumn column = tableColumnModel.getColumn(i);
            if (columnName.equals(column.getHeaderValue())) {
                hideColumn(column);
                break;
            }
        }
    }
public void hideColumn ( Object columnName ) { if ( columnName == null ) return ; for ( int i = 0 ; i < tableColumnModel . getColumnCount ( ) ; i ++ ) { final TableColumn column = tableColumnModel . getColumn ( i ) ; if ( columnName . equals ( column . getHeaderValue ( ) ) ) { hideColumn ( column ) ; break ; } } }
Hide a column from view in the table.
Hide a column from view in the table .