aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/features/FeatureGridLayout.java
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2007-02-05 13:39:43 +0000
committerJani Laakso <jani.laakso@itmill.com>2007-02-05 13:39:43 +0000
commit08d20d97d3e5588cf5959d7d14d857f390b3ec35 (patch)
tree6da3266543f692021aa691c6a6a57ff0d8764b52 /src/com/itmill/toolkit/demo/features/FeatureGridLayout.java
parentf01ef1ce95b21a12d93bfe83098729c47d68d186 (diff)
downloadvaadin-framework-08d20d97d3e5588cf5959d7d14d857f390b3ec35.tar.gz
vaadin-framework-08d20d97d3e5588cf5959d7d14d857f390b3ec35.zip
Removed "root" panel from Feature Components.
Disabled "FrameWindow", not targeted for first public release (now). svn changeset:470/svn branch:toolkit
Diffstat (limited to 'src/com/itmill/toolkit/demo/features/FeatureGridLayout.java')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureGridLayout.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureGridLayout.java b/src/com/itmill/toolkit/demo/features/FeatureGridLayout.java
index db40c9e7bf..46f12821fa 100644
--- a/src/com/itmill/toolkit/demo/features/FeatureGridLayout.java
+++ b/src/com/itmill/toolkit/demo/features/FeatureGridLayout.java
@@ -42,16 +42,13 @@ public class FeatureGridLayout extends Feature {
OrderedLayout l = new OrderedLayout();
- // Example panel
- Panel show = new Panel("GridLayout component");
GridLayout gl = new GridLayout(3, 3);
DateField cal = new DateField("Test component 1", new Date());
cal.setStyle("calendar");
gl.addComponent(cal, 1, 0, 2, 1);
for (int i = 2; i < 7; i++)
gl.addComponent(new TextField("Test component " + i));
- show.addComponent(gl);
- l.addComponent(show);
+ l.addComponent(gl);
// Properties
propertyPanel = new PropertyPanel(gl);