JPasswordield : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

JPasswordField
single line display of text on the screen similar to a JTextField especially for keying passwords. Instead of presenting the result as a String JPasswordField gives you a char[] which can be erased after use. With a String result, the password could lie around in RAM (Random Access Memory) waiting to be GCed and potentially scavenged by someone snooping on the swapfile. By default it echos * so someone watching over the keyer’s shoulder could not read the password. Further, someone snooping on the screen

Learning More

Oracle’s Javadoc on JPasswordField class : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/jpasswordfield.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\jpasswordfield.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.145.75.238]
You are visitor number