import com.vaadin.ui.ComboBox;
import com.vaadin.ui.Embedded;
import com.vaadin.ui.HorizontalLayout;
+import com.vaadin.ui.Label;
import com.vaadin.ui.MenuBar;
import com.vaadin.ui.MenuBar.MenuItem;
import com.vaadin.ui.Table;
@Override
protected void setup(VaadinRequest request) {
VerticalLayout vl = new VerticalLayout();
+ vl.setSpacing(true);
vl.setCaption("Change theme by clicking a button");
HorizontalLayout hl = new HorizontalLayout();
for (final String theme : new String[] { "reindeer", "runo" }) {
sub.addItem("selectedtheme", varyingIcon, null);
vl.addComponent(bar);
+ vl.addComponent(new Label("gap"));
ComboBox cb = new ComboBox("ComboBox");
cb.addItem("No icon");