Retrieves a boolean value that indicates whether this form is set to receive key events for contained controls before the controls receive them.
public final boolean getKeyPreview()
Returns true if this form will receive key events before the contained controls receive them; otherwise, returns false.
See Also setKeyPreview