To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
Best practice for add US State selection combo box
1 decade ago Feb 14, 2012 8:03pm
I am new to Vaadin and UI development in general.
I am trting to figure out the best practice for adding a state selection dropdown to a form view. I have created a HashMap of the state names and I would like to populate that list into a combobox or list select.
I'm not sure if I am on the right track:
Select select = new Select("State", States.getAllStateNames());