JTextField

Palette category
Swing
Palette bean
JTextField
Project
JFC class libraries
Package
com.sun.java.swing
Type
JTextField

Use a JTextField bean to provide a field for text entry or presentation. A text field consists of a single line. You can use a focus accelerator to provide quick accessability to the text field.

Use a TextField bean, rather than a JTextField bean, if you want to use it in an AWT 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