kopparapu v kiran kumar wrote:Am I addiing only one jcombobox to the entire table instead of adding a new combobox for each row in the table??
Yes.
If yes how to add new jcombobox for each table.
You don't need to use a new JComboBox for each table, you just need to replace the JComboBox contents for each cell. You have two choices that I can think of:
1) override JTable's prepareEditor method:
2) subclass DefaultTableCellEditor and do something similar in its getTableCellEditorComponent method.