It turns out that the underlying table model won't be updated when a JTable's column has been sorted. Luckily, there's the handy convertRowIndexToModel method for these sorts of things.
Here's how to reproduce the problem, courtesy of Bob:
Open the Parameter Defaults Editor.
Go to the System Defaults tab.
Scroll down until you find the 'temp' Parameter, right-click on 'temp' and choose 'Copy Row to User's Defaults' (or double-click on 'temp'... does the same thing).
At this point, you should see the bug. In McV, selecting 'temp' results in 'z_frzlvl' being brought over.
This is a follow-up to #114...
It turns out that the underlying table model won't be updated when a JTable's column has been sorted. Luckily, there's the handy
convertRowIndexToModel
method for these sorts of things.Here's how to reproduce the problem, courtesy of Bob:
At this point, you should see the bug. In McV, selecting 'temp' results in 'z_frzlvl' being brought over.