This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on setting focus  RSS feed

 
Harjit Singh
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

I have a Jtable in a scroll pane and below the Jtable I have 2 panels which have theirs sets of controls. The Question which I have is

1) If I make the Jtable Focusable it actually just keeps traversing the Rows and never gets to the nextFocusable control which I set it to. Is there any way to fix that

2) if I make JTable Non-focusable, would that be in accordance with the GUI guidelines. I did read the JAVA look and feel guideline I couldn't get a clear answer on it.

Thanks

- Harjit
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are referring to keyboard navigation: The JTable consumes/uses tabs.
To leave the table use Ctrl-Tab or Ctrl-Shift-Tab.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!