• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set focus?

 
Stephen Lee
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a JSplitPane with left pane and right pane. When the left
pane gain focus, how can I set the focus on the right pane. Is there
any method for this implementation?
Thanks!
 
Vinod Venugopal
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can set focus to the rightpane by using
leftpane.transferFocus() ..now at a time you can setfocus to a single component.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic