I've created an issue for this here:
https://glazedlists.dev.java.net/issues/show_bug.cgi?id=464I also added a test case that demonstrates this issue:
EventTableModelTest.guiTestChangeSelectionByKeysInSortedState_FixMe()
Holger
>
> 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@...
>
>
____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört?
Der kann`s mit allen:
http://www.produkte.web.de/messenger/?did=3123---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...