Hi, anybody here has ever encountered and problem like mine? Please help if
you do.
I have an JTable and the table model derived from AbstractTableModel, I use
TableSorter from the tutorial to sort the table(I have also implemented my
own sorting method, but the result is the same), but whatever the data type
of the table column, the getColumnClass() method always return String type,
so the table is always sorted by String type.
My implementation of this method is as following:
return getValueAt(0, columnIndex).getClass();
What is possibly wrong?

Please help, thank you so much!

Janet