I have a JTable with two columns(I am using DefaultTableModel).The rows are created dynamically. The second column is a JComboBox with some string values. When I re-editing the first column,I get the prevous value(Using getValue()). ie. the Table or TableModel not refresh. what is the problem ?
If the cell editor component is a text field, you can add a document listener to it and call stopCellEditing() on any change to the document - this updates the model every time any text changes - you'll get an update to the model for every character entered.