Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Focus traversal through Disabled Controls

 
mahesh krishnan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4632
 
mahesh krishnan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michael,
That was a good one using keyboardfocus manager....Thanks a lot....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic