Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question on setting focus

 
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.
 
I was born with webbed fish toes. This tiny ad is my only friend:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!