window.setTopComponent(toolBar);
window.setButtonAlign(HorizontalAlignment.CENTER);
window.addButton(new Button("Save"));
window.addButton(new Button("Cancel"));
window.addButton(new Button("Close"));
window.addButton(new Button("Highlight"));
window.addButton(new Button("Shutdown"));
add(new Button("ToolBar Overflow Example", new SelectionListener<ButtonEvent>() {
@Override
public void componentSelected(ButtonEvent ce) {