// attaching a TableCellEditor to a column
tableColumn.setCellEditor( new DefaultCellEditor( comboBox ) );