Two Level Focus

mick.fleming mick.fleming at oracle.com
Mon Nov 18 05:25:49 PST 2013


Hi John,

> However, if you do click on it with the mouse (by 
> selecting one of its items), focus is stuck there and cannot be moved 
> anymore with just the 5 buttons.

when you click on a two_level control with a mouse
it goes straight into 'internal mode', as at this
stage it's obvious that there are mouse events.

If you go back to 'external mode' normal traversal
should be available again. On desktops the OK function
is mapped to Enter, so just pressing Enter should work.

You can enable this from the command line with :
-Dcom.sun.javafx.twoLevelFocus=true


BTW not all controls were selected to have
two level functionality, and not all style sheets
have separate internal-focus styles.

regards,
mick


More information about the openjfx-dev mailing list