public static void main(String[]args)
	{
		
		
		ATM frame = new ATM();
		frame.setSize(800, 600);
		JPanel buttonPanel = new JPanel();
		JPanel passcodePanel = new JPanel();
		//Adds buttons to panel
		buttonPanel.setLayout(new GridLayout(4,3));
		passcodePanel.setLayout(new GridLayout(2,1));
		buttonPanel.add(buttonNum1);
		buttonPanel.add(buttonNum2);
		buttonPanel.add(buttonNum3);
		buttonPanel.add(buttonNum4);
		buttonPanel.add(buttonNum5);
		buttonPanel.add(buttonNum6);
		buttonPanel.add(buttonNum7);
		buttonPanel.add(buttonNum8);
		buttonPanel.add(buttonNum9);
		buttonPanel.add(buttonClear);
		buttonPanel.add(buttonNum0);
		buttonPanel.add(buttonEnter);
		passcodePanel.add(jblPasscode);
		passcodePanel.add(pinInput);
		//adds listeners
		ButtonAction action = new ButtonAction();
		ClearAction clearText = new ClearAction();
		EnterAction enterAction = new EnterAction();
		buttonNum1.addActionListener(action);
		buttonNum2.addActionListener(action);
		buttonNum3.addActionListener(action);
		buttonNum4.addActionListener(action);
		buttonNum5.addActionListener(action);
		buttonNum6.addActionListener(action);
		buttonNum7.addActionListener(action);
		buttonNum8.addActionListener(action);
		buttonNum9.addActionListener(action);
		buttonNum0.addActionListener(action);
		buttonClear.addActionListener(clearText);
		buttonEnter.addActionListener(enterAction);
		//adds panel and password field to frame
		frame.add(buttonPanel,BorderLayout.SOUTH);
		frame.add(passcodePanel,BorderLayout.NORTH);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
	}