wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes how to set focus? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to set focus?" Watch "how to set focus?" New topic
Author

how to set focus?

Stephen Lee
Ranch Hand

Joined: Dec 11, 2001
Posts: 74
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

Joined: Dec 06, 2000
Posts: 148
You can set focus to the rightpane by using
leftpane.transferFocus() ..now at a time you can setfocus to a single component.


- Vinod<br />-------<br />SCJP2
 
Don't get me started about those stupid light bulbs.
 
subject: how to set focus?
 
Similar Threads
Table Selection Lost
Layout problem
Focus issue
How set focus to a new Tabbed Pane.
Problem with scrollbar in the scrollpane