The default JavaFx ComboBox is completely unusable as it is. All pre-existing solutions / components to make it usable that I found online either only partially fixed the issues or were not working at all due to being implemented for much older versions of JavaFx.
So in the end I had to wrap it myself and change/add/re-implement/fix like 14 different behaviours/bugs to get it even remotely close to how you would expect a "standard" ComboBox to behave.
With components being so undercooked I would personally choose a web stack with a nice component library. Unless of course you like to reinvent these kinds of wheels.
View all comments
Show parent comment
1
u/Kaathan Sep 12 '26
Its ok but not really great.
Last year i had to implement a Combobox, specifically the variant "List autocomplete with manual selection" as described here: https://www.w3.org/WAI/ARIA/apg/patterns/combobox/
The default JavaFx ComboBox is completely unusable as it is. All pre-existing solutions / components to make it usable that I found online either only partially fixed the issues or were not working at all due to being implemented for much older versions of JavaFx.
So in the end I had to wrap it myself and change/add/re-implement/fix like 14 different behaviours/bugs to get it even remotely close to how you would expect a "standard" ComboBox to behave.
With components being so undercooked I would personally choose a web stack with a nice component library. Unless of course you like to reinvent these kinds of wheels.