I have a ChoiceBox that I want to set with an ObservableList. In JavaFX I might do:
ObservableList genres = FXCollections.observableArrayList(
"Chamber",
"Country",
"Cowbell",
"Metal",
"Polka",
"Rock"
);
choiceBox.setItems(genres);
But I can't find any equivalent examples in ScalaFX. What would that look like?