A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Swing / AWT / SWT
to clear a value in JPasswordField
Joined: Mar 27, 2007
Apr 03, 2007 04:50:00
i need to clear the value of the jpasswordfield which user has entered after user presses OK button so that the same value entered wont be displayed again to the user next time he logs in.
please help me.
Joined: Oct 29, 2002
Apr 03, 2007 05:21:00
please try to use
Be Confident,be trusty,Count your age by friends not by years
Joined: Oct 13, 2005
Apr 03, 2007 08:39:00
Don't you mean this?
JPasswordField pwf; . . . pwf.setText("");
I agree. Here's the link:
subject: to clear a value in JPasswordField
which class to use for password with no echo(not Console class)
set the max length of a JTextField
Dynamic field collapse issue in Form
jPasswordField is not working please help..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015