Using getPassword() in JPasswordTextFields