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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -