summaryrefslogtreecommitdiffstats
path: root/vaadin-app/src
diff options
context:
space:
mode:
Diffstat (limited to 'vaadin-app/src')
-rw-r--r--vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
index 0a38bee..2a85bc4 100644
--- a/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
+++ b/vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java
@@ -6,16 +6,14 @@ 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);
+ final Window mainWindow = new Window("Hello World Application");
+ Label label = new Label("Hello world");
+ mainWindow.addComponent(label);
+ setMainWindow(mainWindow);
}
}