Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Auto-filter items in an editable ComboBox

867657Dec 5 2012 — edited Dec 13 2012
Hi everyone,

I have an editable ComboBox<MyItem>. When I type into the textfield of the combobox I want to filter the items displayed accordingly and then select one available item.

Has anyone done this?

I'm adding ChangeListeners to:

.selectionModelProperty().getValue().selectedItemProperty()
.editorProperty().getValue().textProperty()
.valueProperty()

without success.

Cheers,
N
This post has been answered by James_D on Dec 6 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2013
Added on Dec 5 2012
7 comments
7,599 views