Advertisement
bungfaz46

jav1

Sep 2nd, 2018
1,263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Erlang 0.79 KB | None | 0 0
  1. ATMSystem() {
  2.        
  3.         super("Advance ATM System");
  4.         setLayout(null);
  5.         setBackground(Color.cyan);
  6.        
  7.         btn_login = new Button("Login");
  8.         btn_login.setBounds(120, 350, 120, 40);
  9.         btn_login.setFont(new Font("Victorian LET",Font.BOLD,22));
  10.         btn_login.setForeground(Color.RED);
  11.         btn_login.setBackground(Color.orange);
  12.         btn_login.addActionListener(this);
  13.         add(btn_login);
  14.        
  15.         btn_exit = new Button("Exit");
  16.         btn_exit.setBounds(270, 350, 120, 40);
  17.         btn_exit.setFont(new Font("Victorian LET",Font.BOLD,22));
  18.         btn_exit.setForeground(Color.RED);
  19.         btn_exit.setBackground(Color.orange);
  20.         btn_exit.addActionListener(this);
  21.         add(btn_exit);
  22.              
  23.        
  24.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement