Skip to content

Instantly share code, notes, and snippets.

@brindy
Created February 11, 2010 14:41
Show Gist options
  • Save brindy/301565 to your computer and use it in GitHub Desktop.
Save brindy/301565 to your computer and use it in GitHub Desktop.
package helloworld;
import com.vaadin.Application;
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;
public class HelloWorldApplication extends Application {
@Override
public void init() {
setTheme("helloworld");
Window main = new Window("Hello World Application");
main.addComponent(new Label("Hello World"));
setMainWindow(main);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment