Have you looked at the API for JTable? It has handy methods for getting the value at a specific index.

Java Platform SE 6