Sounds like a bug. If you submit a test case into this mailing lists (or a bug into the bug tracker) we'll take a look.
James
On Mon, Jan 26, 2009 at 3:11 AM, janh
<jhoskens@...> wrote:
Hi,
I'm using the TableComparatorChooser to sort my rows and stumbled upon an
annoying issue. The selection stays when sorting, but when using the arrow
keys to navigate to the next/previous row, the first row of the table is
selected instead of the next/previous row of the current selection. I've
noticed that when sorting the rows, the anchor/lead selection index is set
to -1 which causes this incorrect behaviour. It seems that the selection
model's state is incorrect. Having a selection without anchor or lead
indexes looks wrong in my humble understanding of the swing table model.
Is there any proper work around? Is this a real bug?
ps: I did use the model & selectionmodel on the correct lists and did a
search through the list for an answer but came up with nothing...
Kind Regards,
Jan
--
View this message in context: http://www.nabble.com/TableComparatorChooser---Selection-tp21663753p21663753.html
Sent from the GlazedLists - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...