void accountScreen()
	{
		frame.setLayout(new BorderLayout());
		JPanel titlePanel = new JPanel(new FlowLayout(FlowLayout.CENTER));
		northPanel = new JPanel(new GridLayout(3, 1));

		buttonPanel = new JPanel(new BorderLayout());

		JLabel titleLabel = new JLabel("Welcome to ACME");
		titleLabel.setFont(new Font("Verdana", Font.BOLD, 30));
		titlePanel.add(titleLabel);

		accountNPinNumberInput = new TextField();
		final JLabel accountNPinNumberLabel = new JLabel(""
				+ "Enter your Account Number: ");

		makeButton(buttonPanel);

		accountNPinNumberInput.setEditable(false);
		northPanel.add(titlePanel);
		northPanel.add(accountNPinNumberLabel);
		northPanel.add(accountNPinNumberInput);
		infoCenter.setHorizontalAlignment(SwingConstants.CENTER);

		frame.add(buttonPanel, BorderLayout.CENTER);
		frame.add(northPanel, BorderLayout.NORTH);
		frame.add(infoCenter, BorderLayout.SOUTH);
		okButton.addActionListener(new ActionListener()
		{

			@Override
			public void actionPerformed(ActionEvent arg0)
			{

				if (currentScreen.equals("account"))
				{
					if (am.isaccounNumberValid(accountNPinNumberInput.getText())
							&& !AtmModel.accountslogged
									.contains(accountNPinNumberInput.getText()))
					{
						infoCenter.setText("Successful");
						AccountNumber = accountNPinNumberInput.getText();
						accountNPinNumberLabel.setText("Enter your Pin Number");
						accountNPinNumberInput.setText("");
						currentScreen = "pin";
						AtmModel.accountslogged.add(AccountNumber);
						accountNPinNumberInput.setEchoChar('*');
					}
					else
					{
						infoCenter.setText("Incorrect Account Number or "
								+ "this Account Number is already logged in");
					}
				}
				else if (currentScreen.equals("pin"))
				{
					if (am.isPinValid(accountNPinNumberInput.getText()))
					{
						infoCenter.setText("Successful");

						currentScreen = "transaction";
						transactionMenu();

					}
					else
					{
						AtmModel.accountslogged.remove(AccountNumber);
						infoCenter.setText("Incorrect Pin");
						currentScreen = "account";
						accountNPinNumberLabel.setText("Enter your Account "
								+ "Number: ");
						accountNPinNumberInput.setText("");
						accountNPinNumberInput.setEchoChar((char) 0);

					}
				}
				else if (currentScreen.equals("transaction"))
				{

					if (alist.getSelectedIndex() == 1)
					{
						am.depositIntoAccount(Double.parseDouble(resultText
								.getText()));
						resultText.setText("");
						infoCenter.setText("Successful Deposit");
						alist.setSelectedIndex(0);
					}
					else if (alist.getSelectedIndex() == 2)
					{
						am.withdrawFromAccount(Double.parseDouble(resultText
								.getText()));
						resultText.setText("");
						infoCenter.setText("Successful Withdraw");
						alist.setSelectedIndex(0);
					}
					else if (alist.getSelectedIndex() == 3)
					{
						AtmModel.accountslogged.remove(AccountNumber);
						frame.dispose();
					}
				}

			}

		});

	}