JTable sorting

hello,

i have to sort a JTable when the user clicks the headers.

I have used

http://java.sun.com/docs/books/tutorial/uiswing/components/table.html

and it works fine.

But now the customer says he wants only 3 of the 5 columns sensitive to clicking. Is there anyway i cand do that using TableSorter from the adress above ?

[359 byte] By [asrfela] at [2007-10-3 4:26:20]
# 1
You could modify the MouseHandler inner class of TableSorter, and append the check that column != -1 to also check that the column is sortable
kindofbluea at 2007-7-14 22:28:58 > top of Java-index,Desktop,Core GUI APIs...
# 2
it worked. thank you !
asrfela at 2007-7-14 22:28:58 > top of Java-index,Desktop,Core GUI APIs...