public TextField (String text)

Creates a TextField with initial text content.

Parameters:
text    A string for text content.