java - Select country state and city from combobox -


For desktop applications in Java waves, ..
Assume that 3 combo boxes Select the country select the state of the city if I select any country from country conutrylistbox values ​​in the country will be automatically inserted with database values ​​& gt; & Gt; On the selection of the state, the city will be inserted into the city combo box

If you can help, please help me ...

1. Try to create 3 combo boxes.

2. First, fill the combo box first, with

for all:

  Hashmap  

3. string", ArrayList & lt; States & gt; & Gt; ();

4. After selecting the country, all states are received from the database, and in the array list & lt; & Gt;

5. Each state will use Hashmap with its cities.

Comments