File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Tabbing out of JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Tabbing out of JTable" Watch "Tabbing out of JTable" New topic

Tabbing out of JTable

Jeff Wisard
Ranch Hand

Joined: Jan 07, 2002
Posts: 89
Hello all,
I know that this is probably a common problem, but I can't find an acceptable solution.
I have a screen with two JTables on it. I want the user to be able to press the TAB key to move between the two tables using the keyboard (instead of CNTRL-TAB). However, I can't seem to get this to work. Essentially, I want to override the current TAB behavior of the JTable to move between components on the screen as opposed to moving between cells in the table.
Can anyone provide some guidance on this?

Jeff Wisard<br />Sun Certified Java Programmer (Java 2)<br />Sun Certified Web Component Developer
I agree. Here's the link:
subject: Tabbing out of JTable
It's not a secret anymore!