JPasswordField

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

Use a JPasswordField bean to provide a text field for sensitive data. A JPasswordField is a text field that always uses an echo character to mask characters that are entered. The echo character can be specified in the property sheet for the JPasswordField. You can use a focus accelerator to provide quick accessability to the password field.

You should not use a JPasswordField bean with AWT components. 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