Reputation: 73
When I execute this simple Vaadin example (auto generated code) with Idea14.
@Override
protected void init(VaadinRequest request) {
final VerticalLayout layout = new VerticalLayout();
layout.setMargin(true);
setContent(layout);
Button button = new Button("Click Me");
button.addClickListener(new Button.ClickListener() {
public void buttonClick(ClickEvent event) {
layout.addComponent(new Label("Thank you for clicking"));
}
});
layout.addComponent(button);
}
I receive this output: screenshot
I expected a button with CSS. What did I do wrong?
Upvotes: 0
Views: 67
Reputation: 4967
The browser is not able to download the theme of your application.
Do you have the vaadin-themes
dependency added to your project?
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-themes</artifactId>
</dependency>
Upvotes: 1