public final Node getFocusOwner ()

taken from field

The scene's current focus owner node. This node's "focused" variable might be false if this scene has no window, or if the window is inactive (window.focused == false).

Since:  JavaFX 2.2