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

[607 byte] By [RobertoZozayaa] at [2007-11-27 3:22:08]
# 1
Do you read your old postings?You where given the answer in your last posting: http://forum.java.sun.com/thread.jspa?threadID=5168016
camickra at 2007-7-12 8:24:54 > top of Java-index,Desktop,Core GUI APIs...