I have table with two columns and lot of rows, each column contain JComboBox. I wrap JComboBox into DefaultCellEditor and added to model. How to implement that when I choose in JComboBox ( example row=3 column=0) I set some value at JComboBox ( row=3 column =1)?
Share
In your Table Model’s
setValuemethod, when you have a change in column 0 callsetValueagain for column 1 with the value you want in column 1.