A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
how to set focus?
Joined: Dec 11, 2001
Jan 01, 2002 21:20:00
There is a
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?
Joined: Dec 06, 2000
Jan 01, 2002 23:41:00
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
It is sorta covered in the
JavaRanch Style Guide
subject: how to set focus?
How set focus to a new Tabbed Pane.
Table Selection Lost
Problem with scrollbar in the scrollpane
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013