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

Focus issue  RSS feed

 
selvas kumars
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to bring focus to the first component in the frame as soon it is loaded, then by pressing tab the focus should move from left to right ...
thanks in advance,
silva.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use requestFocus() and
setNextFocusableComponent(Component c)
to set the order of focus when the tab button is pressed
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!