the attached patch fixes a bug in textarea
the bug was that instantiating an editable text area, it would not accept
input
Index: wtk/src/pivot/wtk/TextArea.java
===================================================================
--- wtk/src/pivot/wtk/TextArea.java     (revision 755993)
+++ wtk/src/pivot/wtk/TextArea.java     (working copy)
@@ -160,6 +160,10 @@
 
     public TextArea() {
         installSkin(TextArea.class);
+
+        Document document = new Document();
+        document.add(new Paragraph());
+        this.setDocument(document);
     }
 
     @Override

Reply via email to