Enumeration          enum;
Enumeration          enm;
  private void setLayout() {    ArffTableSorter      arffModel;    int                  i;    JComboBox            combo;    Enumeration          enum;        arffModel = (ArffTableSorter) getModel();        for (i = 0; i < getColumnCount(); i++) {      // optimal colwidths (only according to header!)      JTableHelper.setOptimalHeaderWidth(this, i);            // CellRenderer      getColumnModel().getColumn(i).setCellRenderer(          new ArffTableCellRenderer());            // CellEditor      if (i > 0) {        if (arffModel.getType(i) == Attribute.NOMINAL) {          combo = new JComboBox();          combo.addItem("?");          enum  = arffModel.getInstances().attribute(i - 1).enumerateValues();          while (enum.hasMoreElements())            combo.addItem(enum.nextElement());          getColumnModel().getColumn(i).setCellEditor(new DefaultCellEditor(combo));        }        else {          getColumnModel().getColumn(i).setCellEditor(null);        }      }    }  }