Share via


Component.requestFocus

Class Overview | Class Members | This Package | All Packages

Syntax

public void requestFocus()

Description

Requests that this component get the input focus.

This component's gotFocus method is called when this method is successful. The component must be visible on the screen for this request to be granted

See Also

FocusEvent, addFocusListener, processFocusEvent, isFocusTraversable