Use a TextField bean to provide a field for text entry or presentation. A text field consists of a single line.
Adding a text component Sun's TextField bean documentation Text beans Beans for visual composition