Adding Row Numbers to JTable
843804Jun 24 2005 — edited May 24 2006Hello,
I'd like to add row numbers to a JTable. This seems easy enough to do, if I just add a column to hold row numbers. The problem is that I'd like to use TableSorter, but if I do that, row numbers will not remain constant.
How would I go about getting TableSorter to "skip" that column?
Or...
How else could I go about this?
Thanks,
-Adam