summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/demo
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@itmill.com>2009-05-26 08:11:41 +0000
committerHenri Sara <henri.sara@itmill.com>2009-05-26 08:11:41 +0000
commitd8a866e0bd96e751888675d86aba5f07e84473ca (patch)
treea4fa7ad54acca497839bac2e22d87a3aa8d7ca3d /src/com/vaadin/demo
parent90852c995589b615bbaeb81e691001518ba62031 (diff)
downloadvaadin-framework-d8a866e0bd96e751888675d86aba5f07e84473ca.tar.gz
vaadin-framework-d8a866e0bd96e751888675d86aba5f07e84473ca.zip
Fix FeatureBrowser Accordion example tab captions
svn changeset:8011/svn branch:6.0
Diffstat (limited to 'src/com/vaadin/demo')
-rw-r--r--src/com/vaadin/demo/featurebrowser/AccordionExample.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/vaadin/demo/featurebrowser/AccordionExample.java b/src/com/vaadin/demo/featurebrowser/AccordionExample.java
index 8fb2c95d62..68cd94faf7 100644
--- a/src/com/vaadin/demo/featurebrowser/AccordionExample.java
+++ b/src/com/vaadin/demo/featurebrowser/AccordionExample.java
@@ -21,12 +21,12 @@ public class AccordionExample extends CustomComponent {
for (int i = 0; i < 5; i++) {
// Create a root component for a accordion tab
VerticalLayout layout = new VerticalLayout();
- accordion.addComponent(layout);
-
// The accordion tab label is taken from the caption of the root
// component. Notice that layouts can have a caption too.
layout.setCaption("Tab " + (i + 1));
+ accordion.addComponent(layout);
+
// Add some components in each accordion tab
Label label = new Label("These are the contents of Tab " + (i + 1)
+ ".");