Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ This repository contains an ATM Management System project implemented in Java.

## Instructions

To run the program, follow these steps:
To run the program, follow these steps: --

1. Run the `AtmMainDriver` file.
1. Run the `AtmMainDriver` file.
2. No additional packages need to be downloaded.
3. The username and password for both "Admin" and "User" are as follows:
- Username: zahid
Expand Down
3 changes: 2 additions & 1 deletion atm/src/atm/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public class Admin extends JFrame implements ActionListener
JButton addAccount,deleteAccount,editAccount,saveToFile,logOut;
JLabel atmLab;
Container con;
ArrayList customerlist;
ArrayList<AccountData> customerlist;
Admin adm = new Admin();
String s1,s2,s3;
Admin()
{
Expand Down
4 changes: 2 additions & 2 deletions atm/src/atm/AfterLogin.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ public class AfterLogin extends JFrame implements ActionListener
JButton equiryBtn,withdrawBtn,logoutBtn,transferBtn;
JLabel atmLab;
Container con;
ArrayList customerlist;
Admin adm = new Admin();
ArrayList<AccountData> customerlist;
String s1;

AfterLogin()
{

super("Transaction");
customerlist=new ArrayList();
loadPersons();

con = this.getContentPane();
con.setLayout(null);
Expand Down