A simple and secure Bank Management System (ATM SIMULATOR) developed in Java using Swing for the user interface and MySQL for database management. This system allows users to perform basic banking operations like creating an account, logging in, making deposits/withdrawals, changing PIN, checking balance, and more.
Java :- Core programming language.
Swing & AWT :- For building the graphical user interface (GUI).
MySQL :- For managing user accounts and transactions.
User can register and log in to the system.
User can change PIN and view mini statements.
Deposit :- Deposit money into the bank account.
Withdraw :- Withdraw money from the bank account, with balance checking.
Fast Cash :- Quickly withdraw predefined amounts.
Balance Enquiry :- Check the current balance.
Mini Statement :- View recent transactions.
PIN-based authentication for secure access to the system.
Validation to ensure all fields are filled properly.
User data, transactions, and account information are stored in a MySQL database.
src
├── database_setup.sql
├── config.properties
├── icons
└── bank.management.system
├── BalanceEnquiry.java
├── Conn.java
├── Deposit.java
├── FastCash.java
├── Login.java
├── MiniStatement.java
├── PinChange.java
├── Transaction.java
├── Withdraw.java
├── SignupOne.java
├── SignupThree.java
├── SignupTwo.java
└──JIntegerField
├── JIntegerPasswordField.java
└──JIntegerTextField.java
BalanceEnquiry.java - Displays current account balance.
Conn.java - Manages database connection.
Deposit.java - Handles the deposit operation.
FastCash.java - Facilitates quick withdrawals.
Login.java - Handles the login process.
MiniStatement.java - Displays recent transactions.
PinChange.java - Allows users to change their PIN.
SignupOne.java, SignupTwo.java, SignupThree.java - User registration process.
Transaction.java - Main screen after login, offering various banking operations.
Withdraw.java - Handles the withdrawal operation.
- navigate to
src
folder containg database_setup.sql file - Log into MySQL (replace root with your MySQL username, and you'll be prompted for your password).
mysql -u root -p
- Once logged into MySQL, execute the SQL script by running
source database_setup.sql
- Open MySQL Workbench.
- Connect to your MySQL server using your credentials.
- File > Open SQL Script and select the database_setup.sql file.
- click the lightning bolt icon (or press Ctrl+Shift+Enter) to execute the SQL commands.
- Clone the repository
- Import the project into your IDE.
- Ensure that MySQL is running and the database and tables are set up as described above.
- create
config.properties
file containing mySql credentials in thesrc directory
of your projectdb.url = jdbc:mysql://localhost:3306/bankSystem db.username = root db.password = password
- Run the
Login.java
class to start the application.