|
Java™ by example!
|
|
|
How do I implement a TextField to use for passwords?
In Swing you can make use of the JPasswordField. With the AWT, you can create a normal TextField and invoke the method setEchoChar('*') on it.
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|