Hello, I wanted a combo box in one of the cells of my JTable. I used this
String[] items = { "true", "false"};
JComboBox editor = new JComboBox( items );
DefaultCellEditor dce = new DefaultCellEditor( editor );
table4.getColumnModel().getColumn(1).setCellEditor(dce);
But the problem I have is that it sets the comboBox for all of my JTable cells. I only want it for one cell. Please how do I do this. Thank you .