Link to home
Start Free TrialLog in
Avatar of geostp
geostp

asked on

getPassword() of JPasswordField

I am still facing error in my program
It says getPassword() method not found in JPasswordField

This is part of my program code
I have imported
import java.awt.swing.JPasswordField;
In jdk1.2 beta 3 this is the syntax.

 JPasswordField input = (JPasswordField)e.getSource();
                char[] password = input.getPassword();
Can anybody give me solutions
ASKER CERTIFIED SOLUTION
Avatar of cph
cph

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial