java - How to show a menu depending on what is selected? -


in swing, how show menu depending on selected menu.

for example: select country drop down. followed state drop down, followed city.

when particular country selected, show states country. also, when state selected, show cities in state.

a jmenu can contain jmenuitem & jmenu instances. might have main menu contains menus countries. each country menu has menus states, each state has menu items city.

otoh nicer user experience provided 3 jcombobox instances. first country, 2nd , third populated needed (on demand).


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -