This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes GWT and the fly likes Exclude a widget from the tab order 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 » Frameworks » GWT
Bookmark "Exclude a widget from the tab order" Watch "Exclude a widget from the tab order" New topic
Author

Exclude a widget from the tab order

Dennis van Beek
Greenhorn

Joined: Aug 29, 2009
Posts: 5

Hello,

I know in HTML you can exclude an object by setting the tab-index to 0.
This doesn't seem to work for GWT though....

Is it possible to exlude a widget from the tab-order (so the widget will be skipped when the user tabs around the form)?

PS:
I solved it for now, by adding a KeyListener to the last widget which redirects the focus to the first widget, excluding the unwanted widgets...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exclude a widget from the tab order
 
Similar Threads
JTable question
Removing a component from tab order
KeyListener not working for JLabel.
JComboBox internals
JTextField Tab Order Changing