This is a simple Bank Management System application developed using Java Swing for the user interface and MySQL for the database. The application provides functionalities such as user login, sign-up, viewing account balance, transferring funds, changing PIN, and viewing user profile.
- User Authentication: Login and Signup screens for user authentication.
- Account Management: View account details, balance, and profile information.
- Fund Transfers: Transfer funds between accounts.
- Change PIN: Update the account PIN securely.
- Profile Management: View and update profile information.
- Java Development Kit (JDK)
- NetBeans IDE or any similar IDE that supports Java Swing applications
- MySQL Server
Ensure you have the following software installed:
- Java Development Kit (JDK): Download JDK
- NetBeans IDE: Download NetBeans
- MySQL Server: Download MySQL
- Clone the repository:
git clone https://github.com/eranthaWELIKALA/Bank_Management_System.git
cd bank-management-system
- Set up the MySQL database:
- Open your MySQL server.
- Create a new database.
- Run the SQL script db_script.sql located in the database folder to create the necessary tables and insert sample data.
- Example:
CREATE DATABASE bms;
USE bms;
SOURCE path/to/db.sql;
- Update Database Configuration:
- Open DBConnect.java located in the src/com/yourpackage/database directory.
- Update the database URL, username, and password to match your MySQL server configuration.
public DBConnect() throws ClassNotFoundException{
try{
Class.forName("com.mysql.cj.jdbc.Driver");
connect = DriverManager.getConnection("jdbc:mysql://localhost:3306/bms","root","12345678");
st = connect.createStatement();
}
catch(SQLException ex){
System.out.println(ex);
}
}
- Run the Application:
- Open the project in NetBeans IDE.
- Build and run the project.
- Login:
- Use your credentials to log in to your account.
- If you don't have an account, sign up for a new account.
- Account Page:
- View your account balance and profile.
- Transfer funds to other accounts.
- Change your account PIN.
- Update your profile information.
bank-management-system/
│
├── database/
│ └── db_script.sql
│
├── src/
│ ├── bms/
│ │ ├── frame/
│ │ ├── panels/
│ │ ├── utils/
│ │ └── images/
│
├── README.md
└── .gitignore
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.