public TextField(String text) throws HeadlessException {
  this(text,(text != null) ? text.length() : 0);
}

public TextField ( String text ) throws HeadlessException { this ( text , ( text != null ) ? text . length ( ) : 0 ) ; }
constructs a new text field initialized with the specified text .
