Sets whether this window should receive focus on
subsequently being shown (with a call to setVisible(true)
),
or being moved to the front (with a call to toFront
).
Note that setVisible(true)
may be called indirectly
(e.g. when showing an owner of the window makes the window to be shown).
toFront
may also be called indirectly (e.g. when
setVisible(true)
is called on already visible window).
In all such cases this property takes effect as well.
The value of the property is not inherited by owned windows.
autoRequestFocus | whether this window should be focused on subsequently being shown or being moved to the front |
isAutoRequestFocus, isFocusableWindow, setVisible, toFront
Diagram: Container