HELP, JTable accending & decending

HI, all Java Gurus, I am using TableSorter.java from

http://java.sun.com/docs/books/tutorial/uiswing/componets/table.html#sorting.

It works fine. In TableSorter class has an api called sortByColumn(int column, boolean ascending). How to toggle the ascending flag to achieve ascending/descending sort? What kind of changes will be made in the TableSorter.java.

Can anybody provide sample code for that? Thanks a lot. It is urgent!!!!

[488 byte] By [stupidlady] at [2007-9-26 3:26:42]
# 1
This works better: http://codeguru.earthweb.com/java/articles/219.shtml
Complication at 2007-6-29 11:48:42 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 2
Thank you, Jon. I try to download the file, but I can't open zipfile, give that error: viewer\quikview.exe doesn't install. How can I get quikview.exe to install? Thank you very much.
stupidlady at 2007-6-29 11:48:42 > top of Java-index,Archived Forums,New To Java Technology Archive...
# 3
Never mind. I got it. Thanks.
stupidlady at 2007-6-29 11:48:42 > top of Java-index,Archived Forums,New To Java Technology Archive...