Microsoft SDK for Java

KeyPressEvent.getKeyChar

Retrieves the character the user composed.

Syntax

public final char getKeyChar()

Return Value

Returns the character the user composed to trigger this event.

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