Originally posted by Jiwoong Lee:
Hi All.
I am working B&S , but now I am really wondering about How to know the record number if I select any record in my JTable. should i remain renNo also ? plz help me~ Thanks in advance.
Another method, involving more work, would be to subclass the AbstractTableModel class and include in it a method for converting a JTable line number into the record number from the record. Records could be "shipped" to the table model packaged as a Map where the key is the record number and the value is the record.
Anton Golovin ([email protected]) SCJP, SCJD, SCBCD, SCWCD, OCEJWSD, SCEA/OCMJEA [JEE certs from Sun/Oracle]