title: How to get the selected item from a ComboBox in JavaFX?
body: <p>i have ComboBox <code>cbx</code> and a TabPane Contains Tabs (tab: <code>t</code>) and a button <code>b1</code>. So on click on this button <code>b1</code>, it adds a new tab <code>t</code> in the TabPane and it adds a new item in the ComboBox <code>cbx</code> contains the same name of the tab. The problem is i don't know how to get the item from <code>cbx</code> and much the name of the item with the same name of the tab and then <code>Do something</code> so how i can do this with javafx and thanks very much :)</p>