aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java')
-rw-r--r--src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java b/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java
index c7ab103ad4..8ae6021db1 100644
--- a/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java
+++ b/src/com/itmill/toolkit/demo/featurebrowser/WindowingExample.java
@@ -88,9 +88,9 @@ public class WindowingExample extends CustomComponent {
public void buttonClick(ClickEvent event) {
Window w = new Window("Subwindow");
getApplication().addWindow(w);
- Label l = new Label(w.getName());
- l
- .setCaption("Each opened window has a separate value:");
+ Label l = new Label("Each opened window has its own"
+ + " name, and is accessed trough its own uri.");
+ l.setCaption("Window " + w.getName());
w.addComponent(l);
getApplication().getMainWindow().open(
new ExternalResource(w.getURL()), "_new");