posted 17 years ago
Hi all,
I have a problem with JTable. I have a table from which I get the value of a particular cell from the selected row thus:
The problem is I thought that by using the column name instead of an integer to get the column from the table I would avoid the problem of getting the wrong column if the columns were moved around table. This is not so. When I move the columns around I get the wrong column from the table and hence the wrong value from the row. Am I doing something obviously wrong here?
Is there for instance something I'm missing in the table model:
Cheers
Helen