public void hideColumn(int modelColumn){
  int viewColumn=table.convertColumnIndexToView(modelColumn);
  if (viewColumn != -1) {
    TableColumn column=columnModel.getColumn(viewColumn);
    hideColumn(column);
  }
}

public void hideColumn ( int modelColumn ) { int viewColumn = table . convertColumnIndexToView ( modelColumn ) ; if ( viewColumn != - 1 ) { TableColumn column = columnModel . getColumn ( viewColumn ) ; hideColumn ( column ) ; } }
hide a column from view in the table .
