public void hideColumn(TableColumn column){
  if (columnModel.getColumnCount() == 1) {
    return;
  }
  columnModel.removeColumnModelListener(this);
  columnModel.removeColumn(column);
  columnModel.addColumnModelListener(this);
}

public void hideColumn ( TableColumn column ) { if ( columnModel . getColumnCount ( ) == 1 ) { return ; } columnModel . removeColumnModelListener ( this ) ; columnModel . removeColumn ( column ) ; columnModel . addColumnModelListener ( this ) ; }
hide a column from view in the table .
