diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-25 12:58:33 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-09-25 12:58:33 +0200 |
commit | f3ba6a134f05cfb7faf8d7a3beb52fe64735f7cf (patch) | |
tree | 34df5cb5da0afca283ab6c058ae70dc946d1a28e /vaadin-app | |
parent | 399ed4e140a61d6765bcc2b554e31de2bf8271cd (diff) | |
download | skeletons-f3ba6a134f05cfb7faf8d7a3beb52fe64735f7cf.zip skeletons-f3ba6a134f05cfb7faf8d7a3beb52fe64735f7cf.tar.gz |
clean up
Diffstat (limited to 'vaadin-app')
-rw-r--r-- | vaadin-app/src/ch/asynk/helloworld/HelloWorldApp.java | 14 |
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); } } |