How to get number of selected item from a ComboBox in JavaFX?

后端 未结 0 1547
执念已碎
执念已碎 2020-12-12 09:54

How to get the number of the selected item in ComboBox? For example:

  • (0) item 1
  • (1) item 2
  • (2) [item 3]     // imagine this option is sele
相关标签:
回答
  • 消灭零回复
提交回复
热议问题