eugenparaschiv
10 Oct 2008, 1:51 AM
I find the way to set selection on a ComboBox (and SimpleComboBox) to be difficult:
combo.getListView().getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
Perhaps some utility methods would be a good thing to include, at least in SimpleComboBox (which is supposed to be simple after all), if not in the ComboBox itself. This call is to long to be simple.
Thanks.
combo.getListView().getSelectionModel().setSelectionMode(SelectionMode.SINGLE);
Perhaps some utility methods would be a good thing to include, at least in SimpleComboBox (which is supposed to be simple after all), if not in the ComboBox itself. This call is to long to be simple.
Thanks.