java - JavaFX: Expand a ComboBox programmatically -


does know how expand combobox code? know in c# can combobox1.droppeddown = true;, how do in javafx?

after stage visible, use :

combobox.show(); 

if want add event, before stage visible, may use :

primarystage.setonshown(event -> combobox.show()); 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -