void (@NotNull Runnable browseAction, @Nullable Disposable parentDisposable) { ComboBoxEditor editor = new BasicComboBoxEditor() { @Override protected JTextField createEditorComponent() { JTextField editor = new ExtendableTextField().addBrowseExtension(browseAction, parentDisposable); editor.setBorder(null); return editor; } }; setEditor(editor); setEditable(true); }