Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (username.getText().equals("ani")){
- if(pass.getText().equals("ani")){
- new PenjualanKu().show();
- this.dispose();
- }else {
- JOptionPane.showMessageDialog(rootPane, "Password salah");
- pass.setText("");
- pass.requestFocus();
- }
- }else {
- JOptionPane.showMessageDialog(rootPane, "Username Salah");
- username.setText("");
- pass.setText("");
- username.requestFocus();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement