Display display = window.getDisplay();
display.getContainerMouseListeners().add(displayMouseListener);
dropShadowDecorator.setShadowOpacity(DropShadowDecorator.DEFAULT_SHADOW_OPACITY);
SuggestionPopup suggestionPopup = (SuggestionPopup)getComponent();
TextInput textInput = suggestionPopup.getTextInput();
textInput.getComponentStateListeners().add(textInputStateListener);
textInput.getComponentKeyListeners().add(textInputKeyListener);
// Reposition under text input
Point location = textInput.mapPointToAncestor(textInput.getDisplay(), 0, 0);
suggestionPopup.setLocation(location.x, location.y + textInput.getHeight() - 1);
suggestionPopup.setMinimumPreferredWidth(textInput.getWidth());
}