Component (final JTable table, @NotNull final Object value, final boolean isSelected, final int row, final int column) { final Property property=(Property)value; try { //noinspection unchecked final JComponent c = myEditor.getComponent(mySelection.get(0), getSelectionValue(property), null); if (c instanceof JComboBox) { c.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE); } return c; } catch(Exception ex) { LOG.debug(ex); SimpleColoredComponent errComponent = new SimpleColoredComponent(); errComponent.append(UIDesignerBundle.message("error.getting.value", ex.getMessage()), SimpleTextAttributes.ERROR_ATTRIBUTES); return errComponent; } }