Microsoft SDK for Java

Control.getFocused

Retrieves a boolean value indicating whether the control has the focus.

Syntax

public boolean getFocused()

Return Value

Returns true if this control has the focus; otherwise, returns false.

See Also   focus

© 1999 Microsoft Corporation. All rights reserved. Terms of use.