What would you suggest as the best approach to making the Shift+Tab move backward through the editable fields in a JTable (as is the behavior in MS Excel)? This would also mimic the the behavior on a panel with tab order set among text fields and buttons...the Shift+Tab will move backward through the order.
best? doubtful, but seems to work OK (limited testing)
Joined: Oct 22, 2002
Thanks for the response. Our JTable has several custom renderer/editors and while I can see that the selection is happening (i.e. I Shift+Tab then type and the text goes into the correct cell), the editor is not coming up on entry - as it does doing a normal Tab action. Any suggestions as to what may be different here?
Joined: Jun 09, 2003
> Any suggestions as to what may be different here?
in the source code for JTable, in processKeyBinding(..) the event is passed to the editor component.