You are on page 1of 1

LOGIN BUTTON COADING:

String Username = a.getText();


String Password = b.getText();
If (Password.contains(1234)&&Username.contains(giriraj))
{b.settext();
a.setText();
selectevent e = new selectevent();
e.setVisible(true);
}
Else
{JoptionPane.showMessageDialog(null,This password is
incorrect<wrong password,JoptionPane.ERROR_MESSAGE);
}

You might also like