});
TableData data = new TableData();
data.setWidth("100%");
inputContainer.addInputItem(new AdapterToolItem(input), data);
emoticonButton = new Button();
emoticonButton.setIconStyle("emoticon_button");
emoticonButton.setStyleName("x-btn-icon x-btn-focus");
emoticonButton.setToolTip("Insert a emoticon");
emoticonButton.addSelectionListener(new SelectionListener<ButtonEvent>()
{
public void componentSelected(ButtonEvent ce)
{
showEmoticonPalette(emoticonButton.getElement().getAbsoluteLeft(),emoticonButton.getElement().getAbsoluteTop());
}
});
data = new TableData();
data.setWidth("30px");
inputContainer.addInputItem(new AdapterToolItem(emoticonButton), data);
sendButton = new Button(JabberApp.getConstants().send());
sendButton.addSelectionListener(new SelectionListener<ButtonEvent>()
{
public void componentSelected(ButtonEvent ce)
{
doSend();