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
Post a Comment