Trying to make a login form in Java & AWT. the instructions said that the only valid username and password is "name" and "12345" respectively. How do I make an if else statement that checks if the textboxes contain those specific strings?

```
    public static void main(String[] args) {

            Frame fm= new Frame ("My Login Form");
            fm.setSize (600,400);
            fm.setLayout (null);
            fm.setVisible (true);

            Label lblUsername= new Label("Username");
                lblUsername.setBounds(40,40,100,50);
                fm.add(lblUsername);

            TextField txtName,txtPass;

             txtName = new TextField();
                txtName.setBounds (150,50,200,25);
                fm.add(txtName);

            Label lblPassword= new Label ("Password");
                lblPassword.setBounds (40,80,100,50);
                fm.add(lblPassword);

              txtPass = new TextField();
                txtPass.setBounds (150,100,200,25);
                fm.add(txtPass);   

            Button btnLogin,btnClear,btnExit;

            btnLogin= new Button("Login");
                btnLogin.setBounds (40,120,60,35);
                fm.add(btnLogin);
                btnLogin.addActionListener((ActionEvent e) -> {

                if ( txtName.contains("name") && lblPassword.contains("12345"))
                { 
                }
                else
                {

                }
            }); 
   }
}

```