Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+11 votes

My comboBox for the Genre selection does not display the listed genres. I replaced the code within the initialize method of movieAddingController with the lab code and nothing happened?

     genreComboBox.getItems().addAll("Comedy", "Horror", "Mystery","Bird Documentaries");
        genreComboBox.setValue("Bird Documentaries");
asked in CSC305 Fall 2023 by (3.8k points)

1 Answer

+3 votes

Are you missing the "magic" @FXML (Java annotation) above your initialize method?
Or any chance you misspelled initialize?

answered by (508 points)