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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.