]> source.dussan.org Git - vaadin-framework.git/commitdiff
User friendlier texts.
authorJani Laakso <jani.laakso@itmill.com>
Tue, 24 Apr 2007 15:25:50 +0000 (15:25 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Tue, 24 Apr 2007 15:25:50 +0000 (15:25 +0000)
svn changeset:1320/svn branch:trunk

src/com/itmill/toolkit/demo/features/FeatureWindow.java

index a5ee871f41d6fca2da45f81f19e7c4f1781e85b5..be9283316330adc458da834e748723626aa8abd0 100644 (file)
@@ -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(
-                                               "<br /><br />This is a new window created by <em>Add to "
-                                                               + "application</em> button's event.<br /><br />You may simply"
-                                                               + " close this window or select <em>Remove from"
-                                                               + " application</em> from the Feature Browser window.",
+                                               "<br /><br />This is a new window created by "
+                                                               + "<em>Add window</em>"
+                                                               + " button's event.<br /><br />You may simply"
+                                                               + " close this window or select "
+                                                               + "<em>Remove window</em> from the Feature Browser window.",
                                                Label.CONTENT_XHTML));
                // prevent user to change window name tag (after window is created)
                windowProperties.getField("name").setEnabled(false);