how to use an autocomplete JCombobox?

已回答

I saw intelliJ using i autocomplete itself at many places like for selecting the type of psi while using psi tree buiding tool . But I do not know how to use such Combobox for myself in my project. 

0

Hi,

I'm not sure which places you mean, but you can easily find out the underlying implementation with UI Inspector:  https://plugins.jetbrains.com/docs/intellij/internal-ui-inspector.html.

0

I know about this tool but couldn't find the class which is actually implementing that autocomplete JComboBox. Can you please refer to me the link. 

0

Please show on a screenshot which component exactly you mean.

0

 

I want these kind of searchable combobox. But want to add my own set of items that get searched as i type in the editable combobox.

0

Basically I want a Dropdown with Autocomplete functionality.
 Or 
a AutoCompleteTextField that can listen to ENTER key event to automatically get me the text. Without having need of a submit button.

0

请先登录再写评论。