JTable view/model sync problem
I'm using SE 1.5 and have an issue with sorting columns. The table can sort the columns fine, but when sorted, the underlying model data is now out of sync with the data viewable to the user.
Thus when a user selects a row in the table view, the result that is returned in the code is the row from the model data which is not what the user selected!
How can I get the model data and view to correspond with each other?
There is a method for this "convertRowIndexToMode" in SE 1.6, but not in SE 1.5.