I am just starting to learn JavaFX 2.
Now I am trying to build a sample application. Then I got stuck in combobox.
I did not find any reference to key value pair for
I know that this question is old, but because I just spent hours in pointless digging on this issue it's a kind of mandatory for me to share the results. It seems that the ComboBox with overriden toString() method resolves the strings back to objects just right even if there are string duplicates in the list. The resolution must be index based and toString() is used only for presentation.