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.

Categories

+11 votes

For part E2 in the lab, I put a ComboBox in the GridPane, but it doesn't look the same way it does in the instructions. I tried a ChoiceBox instead, and it looked the same as the ComboBox. How come they look the same, and what's the difference between the two?

asked in CSC305 Fall 2023 by (2.2k points)

1 Answer

+5 votes

For the ComboBox, make sure to make it editable under Properties to make it look the same way as it does in the instructions! As for the difference between the two, from my understanding, a ComboBox allows users to choose from a list of predetermined choices + the option to write one in, while a ChoiceBox only allows users to choose from a list of predetermined choices.

answered by (1 point)
...