TextField

Palette category
AWT
Palette bean
TextField
Project
Java class libraries
Package
java.awt
Type
TextField

Use a TextField bean to provide a field for text entry or presentation. A text field consists of a single line.

Use a JTextField bean, rather than a TextField bean, if you want to use it in a Swing container. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a Text Component

Related references
Text Beans
Beans for Visual Composition