diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/tickets/Ticket2048.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tickets/Ticket2048.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uitest/src/com/vaadin/tests/tickets/Ticket2048.java b/uitest/src/com/vaadin/tests/tickets/Ticket2048.java index b2a6e64cd2..8fa7c296d0 100644 --- a/uitest/src/com/vaadin/tests/tickets/Ticket2048.java +++ b/uitest/src/com/vaadin/tests/tickets/Ticket2048.java @@ -62,7 +62,7 @@ public class Ticket2048 extends LegacyApplication { p.setSizeFull(); Label l = new Label("Spacer"); l.setHeight("400px"); - p.addComponent(l); + ol.addComponent(l); embedded = new Embedded(null, new ThemeResource( "icons/64/folder-add.png")); @@ -81,7 +81,7 @@ public class Ticket2048 extends LegacyApplication { } }); - p.addComponent(b); + ol.addComponent(b); b = new Button("Change image source (is fine)", new ClickListener() { @@ -98,7 +98,7 @@ public class Ticket2048 extends LegacyApplication { }); - p.addComponent(b); + ol.addComponent(b); layout.addComponent(p); } } |