This content has been marked as final. Show 1 reply
I have partially solved sending in the constructor of the pane "setFocusTraversable(true)" and then "requestFocus()" to an arbitrary label in the pane.
Please someone tell me in case is a better way to implement the focus life cycle I want.
Although this approach seems to be kind of working, it would not work if I do not have a label or something equivalent in the screen (for example if all what I have are links).
I also tried sending "setFocusTraversable(true)" and "requestFocus()" to the pane containing the links. At least no link has the focus when the screen is shown, but if I push the TAB they do not receive the focus neither :(
Any feedback will be appreciated.
Edited by: se**** on Apr 16, 2013 5:26 AM