posted 22 years ago
I hate to be a pain. I just can't seem to get around this whole JComboBox thing (this is my first attempt to use swing).
My problem now is that I'm allowing the user
to select an item from the comboBox, edit, or delete the item. And using the index position from
the comboBox changing the Vector, and then changing the list in the comboBox.
I'm now getting a NullPointerException, when trying to pass the index position to a method which will update the comboBox.
I know the updateComboBox method isnt correct, I need to get the listName.toArray() (since I'm using a Vector in order to display a readable choice), but I just want to get it working, its starting to drive me crazy!!!