Originally posted by Karthick Dharani Vidhya:
Any help on this ASAP.
Ease Up. This is the default table behavior. If you have observed the row jumping is cyclic. If you hit enter when the last row is selected, it will select the first row.
Now since you know it jumps a row, you can either call the getSelectedRow and subtract 1 from it or, trap the keyPressed event instead of the keyReleased as the keyPressed will give you the correct row selection.
PS. There might be a solution in playing around with key bindings. It is up to you to decide if it is worth the effort.
[ August 05, 2008: Message edited by: Maneesh Godbole ]