A Java desktop project that simulates ATM services and bank account registration using Swing, JDBC, and MySQL.
- Card number and PIN login
- Three-step account registration
- Cash deposits and withdrawals
- Fast cash with preset amounts
- Balance enquiry and mini statements
- PIN changes and a startup splash screen
| Component | Technology |
|---|---|
| User interface | Java Swing and AWT |
| Database | MySQL |
| Database connection | JDBC / MySQL Connector/J |
| Date picker | JCalendar |
-
Clone the repository:
git clone https://github.com/Sheryar-Ahmad/ATM-Management-System.git
-
Open the project in a Java IDE and install a JDK.
-
Add MySQL Connector/J and JCalendar to the project libraries.
-
Place the Java files under the
bank.projectpackage. Ensure the originaliconfolder is on the runtime classpath. -
Start MySQL and prepare the
bankSystemdatabase with the tables, views, and stored procedures used by the Java code. The Workbench model is indatabase/New Database.mwb. -
Update
dbConnection.javawith your MySQL username, password, and connection URL. The default database isbankSystemonlocalhost:3306. -
Run
bank.project.SplashScreento start the application, orbank.project.Loginto open the login screen directly.
Java source files are in src/.
| File | Purpose |
|---|---|
SplashScreen.java, Login.java |
Startup and login |
Signup.java, Signup2.java, Signup3.java |
Account registration |
main_Class.java |
ATM transaction menu |
Deposit.java, Withdrawl.java, FastCash.java |
Transaction screens |
BalanceEnquiry.java, mini.java, Pin.java |
Balance, statement, and PIN screens |
dbConnection.java |
MySQL connection |
database/New Database.mwb |
MySQL Workbench database model |
The repository currently does not include the icon assets, dependency JARs, or a SQL initialization script. Add these before running the app.
Built as an educational OOP and database project. Database-backed features require compatible tables, views, and stored procedures. This project is a learning prototype and is not intended for real banking use.
MIT.