This method of the IMECompositionMessage Class retrieves the key character from an IMECompositionMessage object.
public int getKeyChar();
Returns the message key character (which can be 0 if keyChar hasn't been specified for the message).
setKeyChar