void (@NotNull JComboBox<?> comboBox, @NotNull TableCellEditor cellEditor) { comboBox.putClientProperty(TABLE_CELL_EDITOR_PROPERTY, cellEditor); comboBox.putClientProperty("JComboBox.isTableCellEditor", Boolean.TRUE); }