No idea what you are asking. You say:
> i can see that the arrow keys can cycle through the cells of the table
And then your question is asking:
> so everytime time a cycle through the cells
So you know the keys cycle through the cells and you are asking how to cycle through the cells?
Maybe this posting, which shows how to write an Action for JTable will help:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=657819
> like populating text fiels based on the cell i'm navigating.
Why does the text change because you select a cell or not? The contents of the cell should remain the same.
If you are talking about showing additional information as the row selection changes then you should be using a SelectionListener.
> > like populating text fiels based on the cell i'm
> navigating.
>
> Why does the text change because you select a cell or
> not? The contents of the cell should remain the
> same.
>
> If you are talking about showing additional
> information as the row selection changes then you
> should be using a SelectionListener.
I don't want to change the content of the cells, i just want to make this test, cycle through the cells using the arrow keys and return in the textfield box the content of that cell, plus the ROW and COL index.
|||-||
|||-|||__Value of the cell here (ROW index, COL index) __|
|||-||
Did i explained myself better now?
Thank you.