Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Swing / AWT / SWT and the fly likes Focus traversal through Disabled Controls Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Focus traversal through Disabled Controls" Watch "Focus traversal through Disabled Controls" New topic
Author

Focus traversal through Disabled Controls

mahesh krishnan
Greenhorn

Joined: Feb 16, 2006
Posts: 11
Hi,
In my gui i have lot of controls like JTextArea,JButtons,......Based on some conditions some of these controls will be enabled/Disabled.But all cases, when tab key presses focus should passes through all the controls even disabled buttons......How is it possible???Please give some good suggestion...........
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
a recent thread

http://www.coderanch.com/t/342205/GUI/java/Tab-order-swing-components
mahesh krishnan
Greenhorn

Joined: Feb 16, 2006
Posts: 11
Thanks Michael,
That was a good one using keyboardfocus manager....Thanks a lot....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Focus traversal through Disabled Controls
 
Similar Threads
Need opionions: GUI table design
Disabling all controls
disabling more than one control
Passed 385/400
Screen Focus handling across Two Standalone Swing Applications