It sounds like you only want to change the normal
focus traversal when the user hits tab after they
insert.
How about watching for that tab as you did, but
actually setting the focus exactly where you want
it at that point, instead of calling
table.setNextFocusableComponent()?
HTH,
Joe
Originally posted by lavanya subramanian:
i have tried adding a Key Listener and if the event was from tab key do,
table.setNextFocusableComponent(jTextField1);
this is not setting the cursor to the textfield instead setting it to the next element in the table.