diff options
Diffstat (limited to 'uitest/src/com/vaadin/tests/minitutorials/v7a1/DynamicImageUI.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/minitutorials/v7a1/DynamicImageUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uitest/src/com/vaadin/tests/minitutorials/v7a1/DynamicImageUI.java b/uitest/src/com/vaadin/tests/minitutorials/v7a1/DynamicImageUI.java index 61cbd94f3a..a84a2206ef 100644 --- a/uitest/src/com/vaadin/tests/minitutorials/v7a1/DynamicImageUI.java +++ b/uitest/src/com/vaadin/tests/minitutorials/v7a1/DynamicImageUI.java @@ -25,7 +25,7 @@ public class DynamicImageUI extends AbstractTestUI { // Add an image using the resource Image image = new Image("A dynamically generated image", resource); - getContent().addComponent(image); + addComponent(image); } @Override |