Re: [Aswing-users] How can I set the focus order for the fields?
Status: Alpha
Brought to you by:
iiley
From: iiley <iil...@gm...> - 2008-12-04 14:54:30
|
Hi Juan, The default FocusTraversalPolicy is ContainerOrderFocusTraversalPolicy, the order is depend on the order you appended the children. If you want to control it, there's two way: 1.Make sure the order of appending is the order of focus traversal what you want. 2.Implement your FocusTraversalPolicy and call yourContainer.setFocusTraversalPolicy(yourFocusTraversalPolicy). Regards~~ 2008/12/4 Juan Morales <jmo...@ho...> > Hello! > > I have an application with Aswing and I have some fields (jcombobox) and > other text fields. I want to set the order, so when the focus is in the > first field and the user presses tabulator, the focus should jump in the > next field. > > I was looking for an indextab or something similar but I did not found it. > How can I do it in Aswing? > > Thx > > Regards! > > Juan > > ------------------------------ > Get news, entertainment and everything you care about at Live.com. Check > it out! <http://www.live.com/getstarted.aspx> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Aswing-users mailing list > Asw...@li... > https://lists.sourceforge.net/lists/listinfo/aswing-users > > -- iiley AsWing http://www.aswing.org Personal http://www.iiley.com |