public class Password {
private String[] passwords;
public Password() {
passwords = new String[] {"123", "ABC"};
}
public boolean isPasswordAuthentic(String...
Type: Posts; User: chronoz13
public class Password {
private String[] passwords;
public Password() {
passwords = new String[] {"123", "ABC"};
}
public boolean isPasswordAuthentic(String...
sir I cant figure it out why does it only checks the first password in the array...?
so if it is , then if i enter "123", it will still return true.... :confused:
i cant figure this out please help ...
main class that runs the password prompt
public class PasswordField extends JFrame {
private JPanel passwordPanel;
private JPasswordField...