// If the client component is an active client with the below-the-spot
// input style, then make the composition window undecorated without a title bar.
InputMethodContext inputContext = ((InputMethodContext)this);
if (!inputContext.isCompositionAreaVisible()) {
InputMethodRequests req = source.getInputMethodRequests();
if (req != null && inputContext.useBelowTheSpotInput()) {
inputContext.setCompositionAreaUndecorated(true);
} else {
inputContext.setCompositionAreaUndecorated(false);
}