Which event to listen in a JTable when the user changes the selected row?
I'm writing an app that display a JTable (tbl_availableFares), but I only have the main columns there, but I want to update some text labels on screen when the user changes the selected row.
I have implemented on a mouse clicked and mouse released to launch the method that updates the info, but I want to be able to listen to the keyboard when the user changes the selected row with the arrows keys or any other way.
I think there should be an event to listen when a selection is made in a table, I just can't figure it out.
I'm using NetBeans 5.5 and JDK 1.5.0_07.
Thanks

