From: Jani Laakso Date: Tue, 24 Apr 2007 15:25:50 +0000 (+0000) Subject: User friendlier texts. X-Git-Tag: 6.7.0.beta1~6417 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=185e4947e17a35104b1484070ec12e42393b6135;p=vaadin-framework.git User friendlier texts. svn changeset:1320/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/demo/features/FeatureWindow.java b/src/com/itmill/toolkit/demo/features/FeatureWindow.java index a5ee871f41..be92833163 100644 --- a/src/com/itmill/toolkit/demo/features/FeatureWindow.java +++ b/src/com/itmill/toolkit/demo/features/FeatureWindow.java @@ -32,13 +32,14 @@ import com.itmill.toolkit.ui.*; import com.itmill.toolkit.ui.Window.CloseEvent; public class FeatureWindow extends Feature implements Window.CloseListener { - Button addButton = new Button("Add to application", this, "addWin"); - Button removeButton = new Button("Remove from application", this, "delWin"); + private Button addButton = new Button("Add window", this, "addWin"); - Window demoWindow; + private Button removeButton = new Button("Remove window", this, "delWin"); - Form windowProperties; + private Window demoWindow; + + private Form windowProperties; public FeatureWindow() { super(); @@ -120,10 +121,11 @@ public class FeatureWindow extends Feature implements Window.CloseListener { demoWindow .addComponent(new Label( - "

This is a new window created by Add to " - + "application button's event.

You may simply" - + " close this window or select Remove from" - + " application from the Feature Browser window.", + "

This is a new window created by " + + "Add window" + + " button's event.

You may simply" + + " close this window or select " + + "Remove window from the Feature Browser window.", Label.CONTENT_XHTML)); // prevent user to change window name tag (after window is created) windowProperties.getField("name").setEnabled(false);