jcombobox - How to fill combobox from jTable -
i working on project not need database connection. have trouble in filling value in combo-box jtable column. please need help.
public void fillcombo1() { defaulttablemodel model = (defaulttablemodel)jtable4.getmodel(); cmbsearch2.additem((string)model.getvalueat(jtable4.getselectedcolumn(), 0)); }
Comments
Post a Comment