combobox.getValue(); 方法获取JavaFX combobox选中的值。
string bianlian; //定义一个string 类型的变量bianlian=combobox.selecteditem.text ;把下拉列表框中的值读出赋给变量名bianliang