The InputMethodListener Interface of the com.ms.util.InputMethod package must be implemented by Input Method Editors (IMEs) to be used with Java applications.
public interface InputMethodListener { // Methods public void activate(); public void deactivate(); public String getName(); public boolean handledKey(InputMethodCallback imeCallback, long when, int keyCode, int keyChar, int state); public void handleIMEMessage(InputMethodMessage IMEMessage); public void paint(Graphics g); public void setFont(Font font); public void setPos(int x, int y); public void setVisibleComponent(Component c); public void setVisibleComponent(IUIComponent c); public Dimension size(Graphics g); }