Hi All,

I have a questing regarding JTable.

If i have two rows in JTable. if user selects a column in a particular row, I need to have the value of that particular column and also the values of rest of the columns in that row.

Please advise how to achieve that ...

by ... writing the code to do that?
most basic (that I can think of) would be to iterate over the columns and use table.getModel().getValueAt(int row, int col);