I would try using a plain JTable to veryify that JXTable isn't causing the problem. I've sorted tables exceeding 100,000 rows with GL and seen little performance impact, which makes me suspicious of JXTable.
-Ken
I've read the FAQ before posting and assertions are disabled.
Thanks
Holger Brands wrote:
You should first try the suggestion in the performance FAQ to
disable assertions:
http://www.publicobject.com/glazedlists/wiki/index.php?title=FAQ#PerformanceHope this helps,
Holger
>
> I've an ArrayList filled with +- 30000 objects of type 'InstrumentBean'.
>
> I've followed the tutorial to create a sortable JTable. (I'm using JXTable
> but that won't make the difference).
>
> When I click on a header to sort by a column, my CPU goes 100% and it takes
> 20 seconds before the table is sorted and I have control again.
>
> Is this normal ?
>
> I've attached my source code.
>
>
http://www.nabble.com/file/p17753926/TestGlazedLists.rar TestGlazedLists.rar
>
> You will find a file instruments.xml from which I create my collection of
> 'InstrumentBeans'.
> This collection will be used to create the sortable table.
>
> Thanks for your help
>
>
> --
> View this message in context:
http://www.nabble.com/20-Seconds-for-sorting-simple-table-tp17753926p17753926.html> Sent from the GlazedLists - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glazedlists.dev.java.net
> For additional commands, e-mail: users-help@glazedlists.dev.java.net
>
>
______________________________________________________________
Jeden Monat 1 hochkarätiger maxdome-Blockbuster GRATIS!
Exklusiv für alle WEB.DE Nutzer.
http://www.blockbuster.web.de---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glazedlists.dev.java.net
For additional commands, e-mail: users-help@glazedlists.dev.java.net