Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds


  Asked By: Lorraine    Date: Apr 15    Category: Java    Views: 1426

I got tree JComboBox that are filled from a database, and this Jcombos are
to be linked one to each other, like
depending the selection on the first the second is filled and the third is
filled occording the selection in the second one.
In my tables are two fields, one for the id, and the other for the
I'm adding the description field to the ComboBox's, and the id field to a
vector, created one vector to each combo.
When the item is changed in the combo, i pick the
vector.elementAt(jcombobx.selectedIndex()), in theory this works, but in
practice i can't put this to work.

Can anyone help me with this matter, or give me a alternative idea??