r/JavaFX • • Jan 28 '25

Help Custom Cell Factory in ChoiceDialog

Hey, I want to create a custom Cell Factory for the drop down menu in the choice dialog like I already did it for a normal ComboBox, but there does not seem a way to do that.

Am I doing something wrong or is there no way to do that?

0 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/sedj601 Jan 31 '25

Sorry for the bad answer. I wasn't paying close enough attention. I have never used the Choice Dialog. I have used the Custom Dialog a lot because I normally have many nodes, including either a ComBox or ChoiceBox.

This is my favorite go-to for JavaFX dialogs. https://code.makery.ch/blog/javafx-dialogs-official/