Professional Documents
Culture Documents
I Nitin Goel(190855106144) hereby declare that the project report title“BANKING MANAGEMENT
SYSTEM” is an original work carried out by me under the supervision of Ms. Neetu Singh Further
declare that this work has not been submitted to any other
Institute/University for the award of the degree of Bachelor of Technology
STUDENT
Nitin Goel(190855106144)
1
Forwarding Letter
This is to certify that the project entitled “Banking Management System” which is being
submitted for the partial fulfillment for the award of Bachelor Degree of Computer Application
from Ch. Charan Singh University, Meerut is an authentic work carried out by Nitin
Goel(190855106144)
The matter embodied in this project work has not been submitted earlier for the award of degree
or diploma.
ACKNOWLEDGEMENT
This project report on “Banking Management System” is the result of idea and suggestions to me
by Mr. Nishant Rathi
2
We have received unfailing encouragement and inspiration of Mr. Nishant Tyagi whose
exceptional knowledge and unparalleled behavior is full of ardent inspiration in it. However, we
can never adequate thank all those who have their assistance, guidance, cooperation criticism
contributed to the improvement of this report. We are ebullient in expressing my intense in
debtless heartiest gratitude to all of them.
Since performance feedback is essential for effective communication, mistakes and creative
feedback of the report may be unhesitatingly communicated to me, who will be as far as possible
duly acknowledged and most welcome.
In this report, whatever is beneficial comes from almighty, and whatever is faulty is mine.
PREFACE
“Learning comes from doing.” To learn something, one must go through Practical condition.
Recognizing this fact, the University has made it essential for Bachelor of Computer
Applications (BCA) students to undergo Industrial Training for 10 weeks. During this period, the
student learns about the functioning of the organization and the actual business environment.
Also, this training helps the student how to implement the theoretical knowledge into practical
life, in our day to day life. This project report was prepared during the training period.
During this period, an effort was made to understand BANKING MANAGEMENT SYSTEM and to
finish the project work assigned to us. This report lays special emphasis on the operational work,
task and projects carried out during the training period.
3
CONTENTS
Contents……………………………………………………………………………….6
Ch.1.Introduction………………………...…………………………………………...7
4. 2.Forms………………………………………………………………………...48
4.3. Coding……………………………………………………..….…….……….62
Ch.5.Conclusion ..………………………………………………………….………..120
4
Ch.6.Future Enhancement ..……………………………………………..................122
Bibliography……………………………………………………………………........123
INTRODUCTION
Banking Management System is a tool that It provides efficient services to its Account
and Customer. The various types of operations and dealings take places in the Bank. But
we had undertaken the work of Computerization of Generation of Account Management
System which covers the activities related to Account and Customer etc. & All Types of
activities corresponds to the Member, these operations was manually operated by the
clerks and Operator and the operations were really time consuming task to perform. The
present system will help them a lot.
1. To provide security as only an authorized employee can interact with the system.
2. To help the customer working easily and efficiently.
3. To help the customer in reducing errors that are encountered frequently during manual
operations by concurrently updating the data stored in many places.
4. To reduce the workload on the staff by providing automatic calculation.
5. To help the customer or manager in tracing the transaction quickly.
6. To help the customer in generating various reports at various nick of time as per their
requirements e.g. daily, weekly, monthly or annually.
7. To reduce the manpower.
8. To maintain the data with complete consistency and minimum redundancy.
5
1.1 SCOPE OF THE SYSTEM
6
1.2 PROJECT DESCRIPTION
Today computer has become the backbone of nearly every occupation. In every industry
or company or any institution, the several employees have to maintain a number of
records in various part of the organization. In a market, there is a need to maintain record
about employees, edibles, assets & many more.
To do this work manually requires a lot of manpower and consumes too much time.
Moreover one is never sure about the efficiency & accuracy of work being done and
records being maintained. A bad part of this style of working is that, if a person
concerned for a particular job, say maintaining supplier record, is on leave, some of the
process gets standstill, which depends on the records kept by that employee. That is,
where automation comes in to help and allows simple, smooth and most efficient, secure
and easy to handle functionality.
This system will reduce the workload of the employee and time of processing of data
from one unit to another. It also will help the staff/manager in tracing the daily
transaction & maintain staff record, asset information to reduce the manpower. It also
provides the facility to prevent the unauthorized data access of other persons by
categorized the user as normal user and administrator. Only administrator can delete &
even modify the records.
This system will prove to be master key to manage of a bank. Now days all the
organizations are converting from manual to computerized transactions. This provides
better services to the employees with less effort thus increasing the demand of this type of
system day by day.
This has brought about marvelous changes in the life of human being and has made our life easy
& comfortable. It has revolutionized the whole era.
This project “BANKING MANAGEMENT SYSTEM” will help the customer & stands at their
account in every sphere of their activities regarding a taking loan. It will be always their
back & call.
7
1.2.1ABOUT EXISTING SYSTEM
In the general account of the customers, there are many of problems are faced . Some of
these problems can be managed easily, but some of them have many challenging work
when employee can faced that.
All of these type’s challenges can be easily generate in a general and manually operated costumer
record..
For the successful implementation of a system, the training of the users of the system
plays an important role. Because even well designed system can succeed or fail because
8
of the way they are operated and used. Therefore, the quality of the training received by
the personnel involved with the system in various capacities helps or hinders and may
even prevent the successful implementation of management information system. Those
who are directly or indirectly related with the system development work must know in
detail what their roles will be , how they can ace efficient use of the system and what the
system will or will not do for them. Therefore both system operators and users need
training.
SPEED:
They understand the importance of timing, of getting there before the competition. A rich
portfolio of reusable, modular frameworks helps jump-start projects. Tried and tested
methodology ensures that we follow a predictable, low - risk path to achieve results. Our
track record is testimony to complex projects delivered within and evens before schedule.
EXPERTISE:
Our teams combine cutting edge technology skills with rich domain expertise. What’s
equally important - they share a strong customer orientation that means they actually start
by listening to the customer. They’re focused on coming up with solutions that serve
customer requirements today and anticipate future needs.
SERVICES:
It Asset Manager is providing it’s services to companies which are in the field of
production, quality control etc With their rich expertise and experience and information
technology they are in best position to provide software solutions to distinct business
requirements.
9
Ch 2 PROJECT CATEGORY & ENVIRONEMENT
Today computer has become the backbone of nearly every occupation. In every industry
or company or any institution, the several employees have to maintain a number of
records in various part of the organization. In a market, there is a need to maintain record
about employees, edibles, assets & many more.
To do this work manually requires a lot of manpower and consumes too much time.
Moreover one is never sure about the efficiency & accuracy of work being done and
records being maintained. A bad part of this style of working is that, if a person
concerned for a particular job, say maintaining customer record, is on leave, some of the
process gets standstill, which depends on the records kept by that employee. That is,
where automation comes in to help and allows simple, smooth and most efficient, secure
and easy to handle functionality.
This system will reduce the workload of the employee and time of processing of data
from one unit to another.It also provides the facility to prevent the unauthorized data
access of other persons by categorized the user as normal user and administrator. Only
administrator can delete & even modify the records.
FRONT END
Java uses front end programming because JAVA use back end as like
ACCESS DATABASE.
BACK END
Back end
10
Microsoft Access-2007
Hardware Requirements: z
Software Requirements:
11
3.1 ROCOGNITION OF NEEDS
We all know the importance of computerization. The world is moving ahead at lightning
speed and everyone is running short of time. One always wants to get the information and
perform a task he/she/they desire(s) within a short period of time and too with amount of
efficiency and accuracy. The application areas for the computerization have been selected
on the basis of following factors:
SYSTEM ANALYSIS
12
Systems analysis refers to the process of examining a business situation with the intent of
improving it through better procedure and methods. Systems development can generally
be thought of as having two major components Systems Analysis and Systems Design.
Systems analysis is the process of gathering and interpreting facts, diagnosis problems
and using the information to recommend improvement to the system. In brief, we can say
that analysis specifies what the system should do.
4. Allocate function to hardware, software, people, database and other system elements
6. Create a system definition that forms the foundation for all subsequent engineering
FEASIBILITY STUDY
Types of feasibility
1. Technical Feasibility
2. Operational Feasibility
3. Economic Feasibility
4. Social feasibility
13
5. Management Feasibility
6. Legal Feasibility
7. Time Feasibility
TECHNICAL FEASIBILITY
This is concerned with specifying equipment and software that will successfully satisfy the user
requirement. Technical needs of the system include:-
The computers are easily available in almost all the places, even in villages. The hardware needed
to carry out this project with 64 MB of RAM and 2 GB HDD.
The software needed to carry out this project include Visual Basic 6.0 as front end and
oracle 8 as back end .So the technology required to carry out the project is easily
available and affordable, hence this project is technically feasible.
14
Due to all these reasons implementation of such system becomes not only feasible but reputed to
the organization..
OPERATIONAL FEASIBILITY
This is mainly related to human organization and political aspects. The points to be considered
are:-
This feasibility study is carried out by a small group of people who are familiar with the
information system techniques who understand the parts of business that are relevant to
the project and are skilled in the system analysis and design process. This project is not
developed just for fun. They are developed on demand of the organization for which the
system is being developed. Therefore the chances of resistance from the company Staff is
almost nil. Any disturbance to the organization if occurs will be advantageous to the
organization. Also the time required to carry out a transaction will be required to a large
extent, which will make the students and others happy and cheerful. The operators now
will be able to service more students and staff members than before in same time period.
There is no need to recruit new staff to corporate the system .The existing staff of the
company can be trained to interact with the system, which is a GUI, based software and is
easy to use. Hence the project is Operationally feasible.
ECONOMIC FEASIBILITY
Economic analysis is the most frequently used technique for evaluating the effectiveness
of a proposed system. More commonly known as cost-benefit analysis; the procedure is
to determine the benefits and savings that are expected from a proposed system and
15
compare them with costs. If benefits outweigh costs, a decision is taken to design and
implement the system.
Cost-Benefit Analysis
Since cost plays an important role in deciding the new system, it must be identified and
estimated properly. Benefits are also of different types and can be grouped on the basis of
advantages they provide to the management.
0 Level DFD
16
FIRST LEVEL DFD -ELECTRICITY BILL SYSTEM
17
MANAGEM ROLL OF USER MANAGE USER PERMISSION
18
19
3.4. SYSTEM DEVELOPMENT
ii. System Analysis: - Detailed evaluation of present system and data collection is done. The
various reports and documents used are studied in detail. After that the interview of
various levels of management is carried out. The DFD. Data dictionary, Menu chart are
the tools used for it.
iii. System Design: - It involves general and detailed design specification, output, input files,
files, program construction plans, all these details are submitted to user and got signed.
v. Testing: - Each and every input and output program is executed separately and tested for
bugs. Whole of the system is executed and test data is prepared and is fed in to the system
and the output reports are compared with the parameters.
vi. Implementation: -It checks that users requirement are fulfilled or not.
Response time is checked and finally the user manual is prepared and is
submitted.
DATABSE DESIGN
Login table
20
Account table
21
Welcome form
22
EDIT ACCOUNT ENTRY
23
DEPOSIT AMOUNT
24
WITHDRAWFORM
25
LIST OF ACCOUNT
26
LIST OF WITHDRAW
LIST OF DEPOSIT
27
CHANGE PASSWORD
28
LOGIN FORM
package bankingproject; import java.sql.*; import javax.swing.*; private
void loginbtnActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here: String
user1,user2,pass1,pass2; user1=txtuser.getText();
pass1=txtpassword.getText(); try {
Class.forName(""net.ucanaccess.jdbc.UcanaccessDriver");
Connectioncon=DriverManager.getConnection("jdbc:ucanaccess://E:\\bankingdatabase.accdb");
Statement stmt=con.createStatement();
String query="select * from logintable";
ResultSet res=stmt.executeQuery(query); res.next();
user2=res.getString("username");
pass2=res.getString(2); if(user1.equals(user2)
&& pass1.equals(pass2))
{
this.hide();
Splash_form obj=new Splash_form(); obj.show();
}
else
JOptionPane.showMessageDialog(null,"incorrect");
} catch(Exception e) {
}
} private void cancelbtnActionPerformed(java.awt.event.ActionEvent evt)
{ // TODO add your handling code here:
System.exit(0);
} public static void main(String args[])
{
java.awt.EventQueue.invokeLater(new Runnable() { public
void run() { new
Lloginform().setVisible(true);
}
});
}
Splash form
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here: mainform obj=new
mainform();
obj.show();
29
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() { public
void run() { new
Splash_form().setVisible(true);
}
});
}
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
30
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
public static void main(String
args[])
{ java.awt.EventQueue.i
nvo keLater(new Runnable()
{ public void run() {
new
Accountform().setVisible(
true);
}
});
}
31
age=Integer.parseInt(txtage.getText()); gno=Integer.parseInt(txtgno.getText());
balance=Integer.parseInt(txtbalance.getText());
name=holdertxt.getText(); accounttype=typetxt.getText();
gender=combo.getSelectedItem().toString();
idproof=idtxt.getText(); email=emailtxt.getText();
gname=guaranternametxt.getText();
address=txtaddress.getText();
contact=Integer.parseInt(txtcontact.getText()); try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="insert into Account_table
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
32
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
33
}
}
34
idtxt.setText("");
emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText(""); txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
35
String name,accounttype,gender,idproof,email,gname,address;
accountno=Integer.parseInt(accounttxt.getText());
age=Integer.parseInt(txtage.getText()); gno=Integer.parseInt(txtgno.getText());
balance=Integer.parseInt(txtbalance.getText());
name=holdertxt.getText(); accounttype=typetxt.getText();
gender=combo.getSelectedItem().toString();
idproof=idtxt.getText(); email=emailtxt.getText();
gname=guaranternametxt.getText();
address=txtaddress.getText();
contact=Integer.parseInt(txtcontact.getText()); try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="insert into Account_table
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
36
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="select * from account_table";
ResultSet res=stmt.executeQuery(query); while(res.next())
{
accno=Integer.parseInt(res.getString(1));
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
37
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query); JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
38
}
typetxt.setText("");
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
39
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() { public
void run() { new
Accountform().setVisible(true);
}
});
}
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
40
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
41
name=holdertxt.getText(); accounttype=typetxt.getText();
gender=combo.getSelectedItem().toString();
idproof=idtxt.getText(); email=emailtxt.getText();
gname=guaranternametxt.getText();
address=txtaddress.getText();
contact=Integer.parseInt(txtcontact.getText()); try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="insert into Account_table
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
idtxt.setText("");
emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText(""); txtbalance.setText("");
holdertxt.requestFocus();
}
42
String query="select * from account_table";
ResultSet res=stmt.executeQuery(query);
while(res.next())
{
accno=Integer.parseInt(res.getString(1));
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
MainForm
private void jMenuItem1ActionPerformed(java.awt.event.ActionEvent evt) {
Accountform obj=new Accountform(); obj.show();
}
43
obj.show() }
ACCOUNT FORM
package bankingproject; import
java.sql.*;
import javax.swing.*;
44
idproof=idtxt.getText(); email=emailtxt.getText();
gname=guaranternametxt.getText();
address=txtaddress.getText();
contact=Integer.parseInt(txtcontact.getText()); try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="insert into Account_table
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
45
{
accno=Integer.parseInt(res.getString(1));
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
46
}
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
47
Accountform().setVisible(true);
}
});
}
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
48
{ // TODO add your handling code here: this.hide();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
49
contact=Integer.parseInt(txtcontact.getText()); try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="insert into Account_table
values("+accountno+",'"+name+"','"+accounttype+"',"+age+",'"+gender+"',"+contact+",'"
+idproof+"','"+email+"',"+gno+",'"+gname+"','"+address+"',"+balance+")";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(null,"successfully saved");
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
50
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
51
}
idtxt.setText(""); emailtxt.setText("");
guaranternametxt.setText("");
txtaddress.setText("");
txtbalance.setText("");
holdertxt.requestFocus();
}
}
accounttxt.setText(String.valueOf(accno+1)); accounttxt.setEnabled(false);
} catch(Exception e) {
JOptionPane.showMessageDialog(idtxt, e.getMessage());
}
}
52
});
}
DEPOSIT FORM
package bankingproject; import java.sql.*; import javax.swing.*; private
void verifyActionPerformed(java.awt.event.ActionEvent evt)
{ try{ int
accno=Integer.parseInt(combo.getSelectedItem().toString());
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="select * from Account_table where accountno="+accno;
ResultSet res=stmt.executeQuery(query); if(res.next())
{
txtname.setText(res.getString("hname"));
txtname.setEnabled(false);
deposit.setEnabled(true);
} else
JOptionPane.showMessageDialog(null, "ïnvalid account number");
}
catch(Exception e)
{}
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:bank");
stmt2=con.createStatement();
String query="insert into deposit
values("+accountno+",'"+ddate+"',"+amount+")"; stmt2.executeUpdate(query);
stmt=con.createStatement();
53
String q="select * from account_table where accountno="+accountno;
ResultSet res=stmt.executeQuery(q); if(res.next())
{
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText("");
combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText("");
txt3.setText("");
txtname.setText("");
combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
54
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance")); String
q2="update account_table set balance="+amount+" where
accountno="+accountno;
stmt.executeUpdate(q2); JOptionPane.showMessageDialog(null,"Amount
deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
55
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set
balance="+amount+" where
accountno="+accountno;
stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText("");
txt3.setText(""); txtname.setText("");
combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
56
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText("");
txt3.setText(""); txtname.setText("");
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
57
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount
deposited");
}
txt2.setText("");
txt3.setText("");
txtname.setText("");
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
58
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
txt2.setText("");
txt3.setText("");
txtname.setText("");
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
59
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
txt2.setText("");
txt3.setText("");
txtname.setText("");
60
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
combo.removeAllItems(); }catch(Ex
ception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
}
private void
backActionPe
rformed(java.a
wt.event.Actio
nEvent evt)
{ // TODO add your handling code
here: this.hide();
}
61
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount
deposited");
}
txt2.setText("");
txt3.setText("");
txtname.setText("");
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
62
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
txt2.setText("");
txt3.setText("");
txtname.setText("");
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
63
txt2.setText("");
txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+"
where accountno="+accountno;
stmt.executeUpdate(q2);
64
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText("");
combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText(""); combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText("");
combo.removeAllItems();
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
65
txt2.setText(""); txt3.setText("");
txtname.setText("");
combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText("");
combo.removeAllItems()
;
amount+=Integer.parseInt(res.getString("balance"));
String q2="update account_table set balance="+amount+" where
accountno="+accountno; stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText(""); txt3.setText("");
txtname.setText("");
combo.removeAllItems();
amount+=Integer.parseInt(res.getStrin
g("balance"));
String q2="update account_table set balance="+amount+"
where
accountno="+accountno;
stmt.executeUpdate(q2);
JOptionPane.showMessageDialog(null,"Amount deposited");
}
txt2.setText("");
txt3.setText(""); txtname.setText("");
66
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
WITHDRAW FORM
package bankingproject; import
javax.swing.*;
import java.sql.*;
67
catch(Exception e)
{}
stmt=con.createStatement();
String q="select * from account_table where accountno="+accountno;
ResultSet res=stmt.executeQuery(q); if(res.next())
{
amount=Integer.parseInt(res.getString("balance"))-amount;
txtwd.setText("");
txtamount.setText(""); txtname.setText("");
combo.removeAllItems();
}catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void backActionPerformed(java.awt.event.ActionEvent evt)
{ // TODO add your handling code here:
dispose();
68
}
public static void main(String args[]) { java.awt.EventQueue.invokeLater(new
Runnable() {
public void run() { new
Withdrawform().setVisible(true);
}
});
}
SEARCH ACCOUNT
package bankingproject; import
javax.swing.*; import
javax.swing.table.*; import
java.sql.*;
/**
* Creates new form Search_account
*/
Connection c;
Statement state; int s;
public Search_account() { initComponents();
}
priv
ate
void
op1
Acti
onP
erfo
rme
d(ja
va.a
wt.e
vent .
Act
ionE
vent
evt)
{
69
lbl.setText("Enter account No ");
txt.setText("");
txt.requestFocus();
}
String query;
ResultSet res;
//Removing all rows; int
rows=m.getRowCount(); for(int
i=0;i<rows;i++) {
m.removeRow(0);
}
if (op1.isSelected()) {
s=Integer.parseInt(txt.getText()); query="select
* from account_table where accountno="+s;
res=state.executeQuery(query); while(res.next())
{
m.addRow(new Object[]
{ res.getString(1),res.getString(2),res.getString(3),res.getString(5),res.getString(6),res.get
S t ring(11)});
}
} else if (op2.isSelected()) { String
str=(txt.getText()); query="select * from account_table where
hname='"+str+"'";
res=state.executeQuery(query); while(res.next())
{ m.addRow(new Object[]
70
{ res.getString(1),res.getString(2),res.getString(3),res.getString(4),res.getString(5),res.g
etS t ring(6)});
}
} else if (op3.isSelected()) {
String str=(txt.getText()); query="select
* from account_table";
res=state.executeQuery(query);
while(res.next()) {
m.addRow(new Object[]
{ res.getString(1),res.getString(2),res.getString(3),res.getString(4),res.getString(5),res.get
S t ring(6)});
}
}
{}
} catch(Exception e) {
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void EXITActionPerformed(java.awt.event.ActionEvent evt) {
dispose();
}
71
java.util.logging.Logger.getLogger(Search_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Search_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Search_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
}
//</editor-fold>
72
java.util.logging.Logger.getLogger(Search_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Search_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Search_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
}
//</editor-fold>
LIST OF ACCOUNT
package bankingproject; import
javax.swing.*; import
javax.swing.table.*; import
java.sql.*;
/**
* Creates new form List_of_account
*/
public List_of_account()
{ initComponents();
}
73
DefaultTableModel m=(DefaultTableModel) tb.getModel(); try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection c=DriverManager.getConnection("jdbc:odbc:bank");
Statement state=c.createStatement();
String query="select * from account_table";
ResultSet res=state.executeQuery(query); while(res.next())
{
m.addRow(new Object[]
{ res.getString(1),res.getString(2),res.getString(3),res.getString(4),res.getString(5),res.get
S t ring(6)});
}
}
catch(Exception e)
{}
}
java.util.logging.Logger.getLogger(List_of_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(List_of_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(List_of_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
74
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(List_of_account.class.getName()).log(java.util.loggin
g.Level.SEVERE, null, ex);
}
//</editor-fold>
LIST OF DEPOSIT
75
}
catch(Exception e)
{}
76
catch(Exception e)
{}
}
} else {
JOptionPane.showMessageDialog(null,"wrong password");
77
}
} catch(Exception e) {
}
}
dispose();
} private
void changeActionPerforme
d(java.awt.event.Action
Event evt) {
String npass,cpass; npass=txtnewpass.getT
ext();
cpass=txtcompass.getT
ext();
if(npass.equals(cpass)) { try{
Class.forName("sun.jdbc.odbc.JdbcOdbc
Driver");
Connection con=DriverManager.getConnection("jdbc:odbc:bank");
Statement stmt=con.createStatement();
String query="update logintable set password='"+npass+"'";
stmt.executeUpdate(query);
JOptionPane.showMessageDialog(rootPane, "Password changed
successfully");
} catch(Exception e) {
}
} else
JOptionPane.showMessageDialog(rootPane, "Password no match");
}
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() { public
void run() { new
Passwordchange().setVisible(true);
}
});
}
Process Name:- Report
Description :- This process is for the displaying the reports of Customer and
78
transaction.
form
79
MODULES AND THEIR PROCESS LOGICS
Description : This process displays the all information about the Customer
according to the selection criteria of the Account.This process
gives the facility of selecting different types of query about the
particular Book.
Description :- This process is for the searching the entry of particular Account for
deposte amount.
Description :- This process is for the searching the entry of particular account for
2. The related aspects like placement cell, staff details and customer data can be
maintained more easily.
80
3. In the purposed application examination monitoring, so that in future an
increased number of students can be accommodated by the sytem.
5. The necessary steps have been taken in the proposed system to accommodate
the forthcoming changes regarding the course scheduling and the batches
thereof.
6. The format of different types of reports can be suit the requirements in future
though major modifications will be required but the base of the project will
remain the same and all the working will remain same in this project.
CONCLUSION
After having completed this project, We felt that it was an excellent learning experience
as I deal with a real life project that give a opportunity to working for the students to
make their test more easy, while working on this project I got a good exposure to the
sharp programming skills and the various programming techniques while coding for this
system I was exposed to the vast knowledge about the strength and weakness of JAVA
language
.
A part from this I have been able to appreciate the hard work of programmers spent in
developing such a system the most important realization was the amount of cooperation,
dedication, hardwork and team spirit that goes into making of a successful project.
BIBLIOGRAPHY
Books
Following books and eBook are used to complete this project reports.
81
I. Mastering JAVA Neat Beans
WEB REFRENCES
www.microsoft.com
82