Is overriding requestFocus the right thing to do?

mick.fleming mick.fleming at
Mon Apr 22 08:01:29 PDT 2013

Hi Randahl,

> what I am trying to do, or if it only works
> coincidentally.

Depending on your layout and order of node
addition you may have trouble with keyboard
navigation of your layout. Keyboard navigation
could either get stuck in certain cycles, or else
some nodes could become unreachable.

Have you disabled the focusTraversableProperty
for the nodes that you don't want to be in the
focus cycle?

Some controls use a traversal listener to manage
keyboard focus entering and leaving the control,
and also have their own trav() method,  but it's
not yet a public api, so may change.


More information about the openjfx-dev mailing list