Is there a way to populate a JavaFX ComboBox or ChoiceBox with all enumerations of a enum ?
ComboBox
ChoiceBox
Here is what I tried :
public c
I used FXML for this. My enum has a constructor
public enum Type { ABC("abc"),DEF("def"),GHI("ghi"); private String name; private Type(String theType) { this.name = theType; } }