Use input methods like Microsoft Chinese and Japanese Input

Is there a way to create an interface that let’s you use the input from the Microsoft Chinese and Japanese Input for example?
JTextInput seems to be able to detect it, but I already started writing my project in Processing, so was wondering if Processing could detect input issued through these channels, Microsoft IME Chinese and Japanese.