TableCellEditor (final MapInfo o) { return new AbstractTableCellEditor() { @Override public Object getCellEditorValue() { AbstractVcs selectedVcs = myVcsComboBox.getItem(); return selectedVcs == null ? "" : selectedVcs.getName(); //NON-NLS handled by custom renderer } @Override public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) { myVcsComboBox.setSelectedItem(value); return myVcsComboBox; } }; }