This week's book giveaway is in the Reactive Progamming forum. We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line! See this thread for details.
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.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
It means our mission is in jeapordy! Quick, read this tiny ad!