hide typing passwords in JTextArea

I made a JTextArea for where a user enters a password.Is there a way to make it so that when the user types instead of the text appearing black dots appear like a common password box would do?or do I have to work around it?
[244 byte] By [locopuyoa] at [2007-10-3 8:21:22]
# 1
why not use the component made for that - JPasswordField()?are the passwords 2+ lines long?
Michael_Dunna at 2007-7-15 3:27:09 > top of Java-index,Desktop,Core GUI APIs...
# 2
I guess I should have explored the java docs a little bit for that lol.Thanks that works perfectly.
locopuyoa at 2007-7-15 3:27:09 > top of Java-index,Desktop,Core GUI APIs...