encoding/encrypting textkinda

i've looked around and cant find exactly what i need to do this. i want to have the user enter a password for the program, but as the password is being entered i would like the text to show up as ******* while they are typing. any help in leading me in the right direction would be great. thanks

[303 byte] By [x-anubis-xa] at [2007-10-2 5:37:17]
# 1
http://javaboutique.internet.com/password/
prometheuzza at 2007-7-16 1:47:47 > top of Java-index,Java Essentials,Java Programming...
# 2
... or simply use the JPasswordField class.kind regards,Jos
JosAHa at 2007-7-16 1:47:47 > top of Java-index,Java Essentials,Java Programming...