doudt in JPasswordField
hai,
i had and doubt to retrieve the content of password field..?
Sample code
JPassword pass = new JPasswordField();
String s= pass.getPassword().toString();
System.out.println("" + s);
the result s is not returing the exacte content of password that had given at the runtime ......
And i m unable to use the getText() since its get Deprecated
And also let me know how to find the length of the jpassword field
my code is
int i=pass.getPassword().toString().length();
result is i returns 10 always
pls give solution for this
Thanx in advance
shanthy

