aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2007-12-04 19:51:22 +0000
committerJani Laakso <jani.laakso@itmill.com>2007-12-04 19:51:22 +0000
commit3b5793fd5540f8eee3c9a0ef49e2688c9505920c (patch)
treec60d8b56d5f2fe2772e2728f7ac639f3ff780af1 /src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java
parent2bfeca0498c879c11f11a54a22ad87cccdaa78c2 (diff)
downloadvaadin-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/LayoutExample.java')
-rw-r--r--src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java b/src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java
index 14510597ca..d33710b051 100644
--- a/src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java
+++ b/src/com/itmill/toolkit/demo/featurebrowser/LayoutExample.java
@@ -1,3 +1,7 @@
+/*
+@ITMillApache2LicenseForJavaFiles@
+ */
+
package com.itmill.toolkit.demo.featurebrowser;
import com.itmill.toolkit.ui.CustomComponent;
@@ -17,11 +21,11 @@ public class LayoutExample extends CustomComponent {
public LayoutExample() {
- OrderedLayout main = new OrderedLayout();
+ final OrderedLayout main = new OrderedLayout();
main.setMargin(true);
setCompositionRoot(main);
- GridLayout g = new GridLayout(2, 5);
+ final GridLayout g = new GridLayout(2, 5);
main.addComponent(g);
// panel
@@ -53,7 +57,7 @@ public class LayoutExample extends CustomComponent {
ol.addComponent(new Label("Component 3"));
ts.addTab(ol, "Horizontal OrderedLayout", null);
- GridLayout gl = new GridLayout(3, 3);
+ final GridLayout gl = new GridLayout(3, 3);
gl.setMargin(true);
gl.addComponent(new Label("Component 1.1"));
gl.addComponent(new Label("Component 1.2"));