code: private int viewIndexForColumn(TableColumn aColumn) {
          TableColumnModel cm = table.getColumnModel();
  
          for (int column = 0; column < cm.getColumnCount(); column++) {
              if (cm.getColumn(column) == aColumn) {
                  return column;
              }
          }
  
          return -1;
      }
docs: DOCUMENT ME!
  
  @param  aColumn DOCUMENT ME!
  
  @return DOCUMENT ME!