summaryrefslogtreecommitdiffstats
path: root/vaadin-app/src/ch
diff options
context:
space:
mode:
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);
+ }
+}