diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-10-28 07:29:25 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-10-28 07:29:25 +0000 |
commit | bda0e33b9862e176c83607e8b8ca31b80755b962 (patch) | |
tree | 4e873f41601a56bdcaa22782fd0ecd77f1eeca7b /src/com | |
parent | 3123f3462d263e106b533bfdd10381c495cefcd6 (diff) | |
download | vaadin-framework-bda0e33b9862e176c83607e8b8ca31b80755b962.tar.gz vaadin-framework-bda0e33b9862e176c83607e8b8ca31b80755b962.zip |
same default value for rta as for textfield
svn changeset:15755/svn branch:6.5
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/vaadin/ui/RichTextArea.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/RichTextArea.java b/src/com/vaadin/ui/RichTextArea.java index 6292aaa699..10e5259bc2 100644 --- a/src/com/vaadin/ui/RichTextArea.java +++ b/src/com/vaadin/ui/RichTextArea.java @@ -38,6 +38,7 @@ public class RichTextArea extends AbstractTextField { * the caption for the editor. */ public RichTextArea(String caption) { + this(); setCaption(caption); } @@ -76,8 +77,8 @@ public class RichTextArea extends AbstractTextField { * the initial text content of the editor. */ public RichTextArea(String caption, String value) { - this(caption); setValue(value); + setCaption(caption); } @Override |