This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JTable focus issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable focus issue" Watch "JTable focus issue" New topic

JTable focus issue

Anand Loni
Ranch Hand

Joined: Jan 20, 2006
Posts: 150

I am using JTable, my requirement is that when focus is on the table and if I press TAB key then focus should be moved out of table to some other components. This is working fine for me. Problem is when table is in editing mode then I have to press TAB key twice (sometimes) to get focus out of the table.

Can anybody help me in this issue ? I want to move focus out of table in single TAB key press when table cell is in editing mode.

Thanks in advance,

~ Anand,
SCJP 1.5, SCWCD 1.5
Anand Loni
Ranch Hand

Joined: Jan 20, 2006
Posts: 150
problem solved
GeeCON Prague 2014
subject: JTable focus issue