A Java project of an example Banking Application connected with a localhost database
I have made this sample project using Java, Java Swing framework and JDBC.
To run this,
- Create a new Java Project in whatever IDE you want.
- Put the app and the media folder from the src folder to the source (src) folder of your project.
- Create a MySQL(or any other) database(e.g. java_login) and in it create a table (e.g. bank_account) with 7 columns i.e Username, AccNo, Password, Age, Gender, Email and Balance.
- Modify the database url, username & password in the Deposit.java, Withdraw.java, Login, Get_balance.java and SQLinsert.java files.
- I've also attached the jar files of libraries necessary for this, which you can add in the lib folder.