title: Combo Boxes in netbeans
body: <p>i have a gui in netbeans. 3 textfields animal id(i.e MAM001) , type of animal(LION) and nickname(SIMBA). when the three textfields are entered the user can click on the submit button which will store the values from the three textfields in a database. </p>
  
  <p>what i want to do but don't know how to do it, is to use a combo box with three different fields in it (MAMMAL,BIRD REPTILE). when i select  mammal from the combo box it will the change mysql statements in the background so that the data entered into the textfields will go into the mammal table in the database. if i click on the "bird" field in the combo box the same thing will happen except the data will go into the bird table in the database.</p>
  
  <p>Any help would be greatly appreciated<br>
  Thank you.</p>