Hey,

The default number of columns a TextField should have is 0, not 1.  This
change is based on Harmony's testTextField and testGetColumns
(test.java.awt.TextFieldTest).

Could someone please approve this patch. Thanks.

Tania


2006-06-23  Tania Bento  <[EMAIL PROTECTED]>

        * java/awt/TextField.java
        (TextField): Default number of columns should be 0, not 1.

 
Index: java/awt/TextField.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/TextField.java,v
retrieving revision 1.17
diff -u -r1.17 TextField.java
--- java/awt/TextField.java	24 Feb 2006 18:50:36 -0000	1.17
+++ java/awt/TextField.java	23 Jun 2006 14:07:45 -0000
@@ -96,7 +96,7 @@
 public
 TextField()
 {
-  this("", 1);
+  this("", 0);
 }
 
 /*************************************************************************/

Reply via email to