summaryrefslogtreecommitdiffstats
path: root/vaadin-app/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-09-23 08:35:57 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-09-23 08:35:57 +0200
commit5bed897301fcb8627b32c9293f44364c1eb934d4 (patch)
treea23dbefecfb66a1a7bd57dae1e4bca3d62d88a41 /vaadin-app/src/ch
parentbf8f95fdd25a68d02598c7be864bc97c05132c90 (diff)
downloadskeletons-5bed897301fcb8627b32c9293f44364c1eb934d4.zip
skeletons-5bed897301fcb8627b32c9293f44364c1eb934d4.tar.gz
add vaadin-app source tree
Diffstat (limited to 'vaadin-app/src/ch')
-rw-r--r--vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
new file mode 100644
index 0000000..0a38bee
--- /dev/null
+++ b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
@@ -0,0 +1,21 @@
+package ch.asynk.helloworld;
+
+import com.vaadin.Application;
+import com.vaadin.ui.Window;
+import com.vaadin.ui.Label;
+
+
+public class HelloWorldApp extends Application {
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+ private Window mainWindow;
+ @Override
+ public void init() {
+ mainWindow = new Window("Hello World Application");
+ Label label = new Label("Hello world");
+ mainWindow.addComponent(label);
+ setMainWindow(mainWindow);
+ }
+}