how to fill combo box at run time?

I have a Vector, which is filled at run time.I wanna put these values in a JCombo box, but i dont know how to do it at run time.plz help
[157 byte] By [ali_hammada] at [2007-11-26 15:56:02]
# 1
you can either add items one by one using:jComboBox1.addItem("this is a string item1");or an array like this one:jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "item1","item2","item3" }));
venezuellaa at 2007-7-8 22:16:50 > top of Java-index,Desktop,Core GUI APIs...