JTable focus on cells

Hi:How can I change order of the focus on the cell?, because when I push enter over a cell the next focusable is the cell vertically and want that the next focusable cell was horizontal thanks for your help!!!
[237 byte] By [filihca] at [2007-11-27 6:52:18]
# 1

You know you can use tab to move to the right, right? Most applications that have grids like that use enter to move down and tab to move right. Shift-tab and Shift-enter reverse their directions. I've never tried to change the focus traversal of a JTable, but this looks like a good place to start: http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html

hunter9000a at 2007-7-12 18:26:47 > top of Java-index,Java Essentials,Java Programming...
# 2
(edit: nevermind i was thinking of the text traversal guy)
TuringPesta at 2007-7-12 18:26:47 > top of Java-index,Java Essentials,Java Programming...
# 3
In the future, Swing related questions should be posted in the Swing forum.If you search the Swing forum you will find my "TableActions" example which shows you how to remap the Action of one KeyStroke to the Acton of another.
camickra at 2007-7-12 18:26:47 > top of Java-index,Java Essentials,Java Programming...