aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/demo/featurebrowser/TableExample.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/demo/featurebrowser/TableExample.java b/src/com/vaadin/demo/featurebrowser/TableExample.java
index f1dfc1f187..1c9ac6c2d8 100644
--- a/src/com/vaadin/demo/featurebrowser/TableExample.java
+++ b/src/com/vaadin/demo/featurebrowser/TableExample.java
@@ -61,9 +61,9 @@ public class TableExample extends CustomComponent implements Action.Handler,
// main layout
final VerticalLayout main = new VerticalLayout();
- root.addComponent(main);
main.setCaption("Basic Table");
main.setMargin(true);
+ root.addTab(main);
// "source" table with bells & whistlesenabled
source = new Table("All creatures");