public JPasswordField (String text)

Constructs a new JPasswordField initialized with the specified text. The document model is set to the default, and the number of columns to 0.

Parameters:
text    the text to be displayed, null if none