Hi,
I have a dialog with a JTable on the top and various fields below. The
fields below are used to show more detailed
information about the items in the tables list. I am using a Selection
Listener to respond to a row selection event and populate the lower fields
with the information about the selected table list item, however, when I
traverse the rows of the table usiing the down arrow key, the selection
listener event is not fired and the fields do not change when the row
selection changes usiing the up or down arrow keys. How may this be done.
I tried a Key Listener, but this did not work either.
Thanks for any help,
Eugene
Eugene Staten - 08 Jan 2004 18:09 GMT
I stumbled over the answer. Never mind.
The selection listener does work with this. I was testing
getValueIsAdjusting() for false and not true, so I was returning
with no action when I was supposed to continue with the action.
> Hi,
>
[quoted text clipped - 11 lines]
>
> Eugene