summaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java')
-rw-r--r--src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java b/src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java
index cef6ea87d8..064bdaefee 100644
--- a/src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java
+++ b/src/com/itmill/toolkit/demo/features/FeatureOrderedLayout.java
@@ -40,13 +40,10 @@ public class FeatureOrderedLayout extends Feature {
OrderedLayout l = new OrderedLayout();
- // Example panel
- Panel show = new Panel("OrderedLayout component");
OrderedLayout ol = new OrderedLayout();
for (int i = 1; i < 5; i++)
ol.addComponent(new TextField("Test component " + i));
- show.addComponent(ol);
- l.addComponent(show);
+ l.addComponent(ol);
// Properties
propertyPanel = new PropertyPanel(ol);