Is overriding requestFocus the right thing to do?

Randahl Fink Isaksen randahl at rockit.dk
Mon Apr 22 08:05:23 PDT 2013


Well, the focus cycle works just fine!

Randahl

On Apr 22, 2013, at 17:01 , "mick.fleming" <mick.fleming at oracle.com> wrote:

> 
> 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.
> 
> 
> regards,
> mick
> 



More information about the openjfx-dev mailing list