Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
c339a2b
change value
Kisharini Jan 6, 2026
30dea20
update
Kisharini Jan 6, 2026
9498b11
update
Kisharini Jan 6, 2026
7b016cd
update
Kisharini Jan 6, 2026
f38bf26
update readme file
Kisharini Jan 6, 2026
ba418d8
Add CR-01 comment for daily withdrawal limit maintenance
Feb 5, 2026
4e6e147
Implement CR-01: Daily withdrawal limit in ATM and test cases
Feb 5, 2026
e8bec39
Implement CR-01: Daily withdrawal limit in ATM and test cases
Feb 5, 2026
248d2f1
Implement CR-01: Daily withdrawal in limit
Feb 5, 2026
c423d80
Merge pull request #1 from ainnurqiss/feature-config-management
ainnurqiss Feb 6, 2026
db9a95f
Mary's CR implementation
SayraLiuere Feb 6, 2026
fe5dada
Merge pull request #2 from marys-branch
SayraLiuere Feb 6, 2026
2a077b7
Add input validation and error handling for withdrawal and transfer
Nabira28 Feb 6, 2026
744376d
Merge branch 'master' into nabira-validation
Nabira28 Feb 6, 2026
936cf31
add input validation and error handling for balance and transfer
Nabira28 Feb 6, 2026
3ee185e
feat: add deposit function to ATM
Feb 6, 2026
c550328
Kisha's commit request - add serialVersionUID to LoginForm class
Kisharini Feb 6, 2026
97ef031
Merge branch 'master' of https://github.com/Kisharini/ATM-Management-…
Kisharini Feb 6, 2026
a31fdb1
Merge pull request #3 from Kisharini/nabira-validation
Kisharini Feb 6, 2026
7aca03b
Merge origin/master: combine deposit feature with transaction history
Feb 6, 2026
ed869fc
Merge pull request #4 from Kisharini/tianyi-branch
owen666-sudo Feb 6, 2026
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
6 changes: 6 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="atm/src"/>
<classpathentry kind="output" path="atm/build/classes"/>
</classpath>
28 changes: 28 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ATM-Management-System-Maintenance-Project</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1768836522542</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
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
Binary file added atm/bin/atm/AccountData.class
Binary file not shown.
Binary file added atm/bin/atm/Admin.class
Binary file not shown.
Binary file added atm/bin/atm/AfterLogin.class
Binary file not shown.
Binary file added atm/bin/atm/AtmMainDriver.class
Binary file not shown.
Binary file added atm/bin/atm/LoginForm.class
Binary file not shown.
Binary file added atm/bin/atm/TestTransactionHistory.class
Binary file not shown.
Binary file modified atm/build/classes/atm/AccountData.class
Binary file not shown.
Binary file modified atm/build/classes/atm/Admin.class
Binary file not shown.
Binary file modified atm/build/classes/atm/AfterLogin.class
Binary file not shown.
Binary file modified atm/build/classes/atm/AtmMainDriver.class
Binary file not shown.
Binary file removed atm/build/classes/atm/LoginForm$ATM_System.class
Binary file not shown.
Binary file modified atm/build/classes/atm/LoginForm.class
Binary file not shown.
Binary file not shown.
40 changes: 38 additions & 2 deletions atm/src/atm/Admin.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import java.awt.Color;
import java.awt.Container;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import java.io.*;

/*\ I have to add these options
Add Account
Expand All @@ -23,7 +23,7 @@ public class Admin extends JFrame implements ActionListener
JLabel atmLab;
Container con;
ArrayList customerlist;
String s1,s2,s3;
String s1;
Admin()
{
super("ADMIN");
Expand Down Expand Up @@ -67,7 +67,42 @@ public class Admin extends JFrame implements ActionListener
saveToFile.addActionListener(this);
logOut.addActionListener(this);

loadPersons();
}

/*******************************LOAD ACCOUNT FROM FILE*******************************************/
public void loadPersons()
{
String ss[]=null;
String pincode,customername,accounttype,accountnumber,startbalance;

try
{
FileReader fr=new FileReader("Customer Record.txt");
BufferedReader br=new BufferedReader(fr);

String line=br.readLine();

while(line != null)
{
ss=line.split(",");
pincode=ss[0];
customername=ss[1];
accounttype=ss[2];
accountnumber=ss[3];
startbalance=ss[4];

AccountData atm=new AccountData(pincode,customername,accounttype,accountnumber,startbalance);
customerlist.add(atm);
line=br.readLine();
}
br.close();
fr.close();
}
catch(IOException ioEX)
{
System.out.println("No existing customer records found. Starting fresh.");
}
}

/*******************************ADD ACCOUNT************************************************/
Expand Down Expand Up @@ -218,6 +253,7 @@ public void edit(String n)
/************************************************************************************************************/

/***************************************************************************************************/
@Override
public void actionPerformed(ActionEvent e)
{

Expand Down
Loading