hauda 0 Newbie Poster

Hello,

I was wandering how to save the contents of a JPasswordField into a text file, i thought to use the

getPassword()

method, but a

null

is saved into the file instead.

Would appreciate it if I could get some initial ideas.

Thanks for your time,


Sam