diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2007-12-04 19:51:22 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2007-12-04 19:51:22 +0000 |
commit | 3b5793fd5540f8eee3c9a0ef49e2688c9505920c (patch) | |
tree | c60d8b56d5f2fe2772e2728f7ac639f3ff780af1 /src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java | |
parent | 2bfeca0498c879c11f11a54a22ad87cccdaa78c2 (diff) | |
download | vaadin-framework-3b5793fd5540f8eee3c9a0ef49e2688c9505920c.tar.gz vaadin-framework-3b5793fd5540f8eee3c9a0ef49e2688c9505920c.zip |
License header parametrized
Cleanup performed
Organized imports
Format
svn changeset:3162/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java')
-rw-r--r-- | src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java b/src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java index f0f8e2ac54..925474f1f5 100644 --- a/src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java +++ b/src/com/itmill/toolkit/demo/featurebrowser/NotificationExample.java @@ -1,3 +1,7 @@ +/* +@ITMillApache2LicenseForJavaFiles@ + */ + package com.itmill.toolkit.demo.featurebrowser; import java.util.Date; @@ -35,7 +39,7 @@ public class NotificationExample extends CustomComponent { */ public NotificationExample() { // Main layout - OrderedLayout main = new OrderedLayout(); + final OrderedLayout main = new OrderedLayout(); main.setMargin(true); // use theme-specific margin setCompositionRoot(main); @@ -75,7 +79,7 @@ public class NotificationExample extends CustomComponent { message.setValue("A quick one jumped over the lazy dog."); // Button to show the notification - Button b = new Button("Show notification", new ClickListener() { + final Button b = new Button("Show notification", new ClickListener() { // this is an inline ClickListener public void buttonClick(ClickEvent event) { // show the notification |