diff -BburN awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java awt.new/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java --- awt/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java 2007-10-29 13:33:54.651058500 +0800 +++ awt.new/src/main/java/common/org/apache/harmony/awt/im/InputMethodContext.java 2007-10-29 13:34:00.938657300 +0800 @@ -164,6 +164,9 @@ nativeIM.disableIME(); } IMManager.setLastActiveIMC(this); + if(getClient() != null) { + getClient().getInputMethodRequests(); + } } @SuppressWarnings("deprecation") @@ -314,6 +317,7 @@ closeIM(inputMethod); client = KeyboardFocusManager. getCurrentKeyboardFocusManager().getFocusOwner(); + if(client != null) client.getInputMethodRequests(); initIM(newIM, locale); inputMethod = newIM;