It would be great to have an FXML equivalent for this (cb is a ChoiceBox):
cb.getSelectionModel().select(1);
I am told in OTN forum that I'm not able to do this in FXML.
Here's a link to discussion: https://forums.oracle.com/forums/thread.jspa?threadID=2337596&tstart=0
cb.getSelectionModel().select(1);
I am told in OTN forum that I'm not able to do this in FXML.
Here's a link to discussion: https://forums.oracle.com/forums/thread.jspa?threadID=2337596&tstart=0
- relates to
-
JDK-8102042 Add "multiSelect" and "selectedIndex" properties to ListView
-
- Closed
-