Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ATMSystem() {
- super("Advance ATM System");
- setLayout(null);
- setBackground(Color.cyan);
- btn_login = new Button("Login");
- btn_login.setBounds(120, 350, 120, 40);
- btn_login.setFont(new Font("Victorian LET",Font.BOLD,22));
- btn_login.setForeground(Color.RED);
- btn_login.setBackground(Color.orange);
- btn_login.addActionListener(this);
- add(btn_login);
- btn_exit = new Button("Exit");
- btn_exit.setBounds(270, 350, 120, 40);
- btn_exit.setFont(new Font("Victorian LET",Font.BOLD,22));
- btn_exit.setForeground(Color.RED);
- btn_exit.setBackground(Color.orange);
- btn_exit.addActionListener(this);
- add(btn_exit);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement