• Post Reply Bookmark Topic Watch Topic
  • New Topic

Focus issue

 
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!