Banking System Project Report
Banking System Project Report
A
Project Report
On
Banking Management System
College Name
College Logo
1
Banking Management System
Certificate
This is to certify that the project titled "Banking Management System" is a bonafide work
carried out by Mr. X, Roll No. XXX in the partial fulfillment of the requirement for the award of
the degree of Degree Name from college Name under the supervision of Mr./Ms. X
2
Banking Management System
Declaration
I, <Student Name>, hereby declare that the work presented in the project report entitled
Applications, P.D.M College Of Engineering., affiliated to University Name for the partial
fulfillment of the award of degree of “Degree Name” is an authentic record of my work carried
out during the final semester, <20XX> at <Company Name>, under the supervision of <Mr. X>
(External Guide Information) and Internal Guide as <Mr X>, Department of Computer Science
The matter embodied in this project report has not been submitted elsewhere by anybody for the
<Student Name>
University Rollno-
3
Banking Management System
ACKNOWLEDGEMENT
I would like to thank people who were part of this work in numerous ways. In particular, I wish
to thank <Mr./Ms.X>(External Guide Information), my project guides for their suggestions and
improvements in this project and providing continuous guidance at each and every stage of the
project.
Thanks are extended especially to my guide <Mr./Ms. X> (Designation, P.D.M. College of
Applications,. College of Engineering).I also thank Director Sir of College of Engineering for
his valuable support. I must also be thankful to my classmates and friends for their continuous
Last but not the least, I want to express my thanks to my parents and family members for their
Student Name
<Signature>
4
Banking Management System
Table of Contents
INTRODUCTION...........................................................................................................................................4
REQUIREMENTANALYSIS.............................................................................................................................6
Back END:..............................................................................................................................................9
Objective of the System.........................................................................................................................12
Feasibility Study....................................................................................................................................13
EXISTING SYSTEM..............................................................................................................................17
Limitations of the existing system..........................................................................................................18
PROPOSED SYSTEM............................................................................................................................19
The present database...........................................................................................................................19
The proposed system is........................................................................................................................19
NEED FOR THE PROPOSED SYSTEM..........................................................................................20
POBLEM ANALYSIS.....................................................................................................................................21
System Design...........................................................................................................................................23
PHYSICAL DESIGN:.....................................................................................................................................25
Database/Table Design..............................................................................................................................29
5
Banking Management System
INTRODUCTION
Online banking is also called Electronic Banking, Internet Banking, Electronic Transfer Fund
and Home Banking. These are the same thing; however they differ in the classification whether it
is external or internal This 'Online Banking' Project is a model Internet Banking Site. This site
enables the customers to perform the basic banking transactions by sitting at their office or at
homes through PC or laptop. The customers can access the banks website for viewing their
Account details and perform the transactions on account as per their requirements. With Internet
Banking, the element and bat structure of the traditional banking gets converted into a click and
portal model, thereby giving a concept of virtual banking a real shape. Thus today's banking is
methodology, which envisages the future expansion, and modification, which is necessary for a
core sector like banking. This necessitates the design to be expandable and modifiable and so a
modular approach is used in developing the software. Anybody who is an Account holder in this
bank can become a member of online banking. He has to fill a form with his personal details and
Account Number.
All transactions are carried out online by transferring from accounts in the
same Bank. The software is meant to overcome the drawbacks of the manual system. The
software has been developed using the most powerful and secure backend mySql and the most
widely accepted web oriented as well as application oriented programming language java.
6
Banking Management System
Online Banking System can help to meet and overcome the problem of manual
processing. Online Banking System offer flexible, client-server technology based on a scalable
system. It’s centralized, customer centric design to offers a complete set of integral retail banking
In India, given the relatively underdeveloped capital market and with little internal resources,
firms and economic entities depend, largely, on financial intermediaries to meet their fund
institutional and non-institutional. The major institutional suppliers of credit in India are banks
and non-bank financial institutions (that is, development financial institutions or DFIs), other
financial institutions (FIs), and non-banking finance companies (NBFCs). The non-institutional
While banks and NBFCs predominantly cater for short-term needs, FIs provide mostly medium
7
Banking Management System
REQUIREMENTANALYSIS
1) Hardware Configuration
Memory : 1 GB RAM
2) Software Configuration
Database : MySql
NetBeans
NetBeans is the most comprehensive J2EE IDE() for the open Source netbeans platform.It
for J2EE WEB,XML,UML & database & a wide array of application server connectors to
Java:-
8
Banking Management System
Java is pure object oriented programming language, which has derived C syntax and C++ object
independent and can do graphics, networking, multithreading. It was initially called as OAK.
Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed Frank, and Mike
Sheridan at Sun Microsystems, Inc. in 1991. Java can used to create two types of programs:
application and applets. Application is a program that runs on your computer, under the
operating system of that computer. That is an application created by Java is more or less like one
created using C or C++. An applet is an application designed to be transmitted over the Internet
and executed by a Java-compatible Web browser. Java provides the Java Virtual Machine
(JVM).
Simple
Secure
Portable
Object-oriented
Robust
Multithreading
Architecture-neutral
Interpreted
High Performance
Distributed
Dynamic
9
Banking Management System
Java supports the different types of editors are EditPlus, Eclips, NetBean, Notepad. EditPlus
editor are different types of used in editor such as Text, HTML, PHP, JAVA Script, JAVA, JSP,
XML, VBSscript, C#, C/C++, Perl, .NET Config, CSS. Etc. Most of the Eclipse SDK is "pure"
JavaTM code and has no direct dependence on the underlying operating system. The chief
dependence is therefore on the Java 2 Platform itself. The 3.1 release of the Eclipse Project is
written and compiled against version 1.4 of the Java 2 Platform APIs, and targeted to run on
Java technology are performed the different types of version are JDK1.2, JDK1.3, JDK1.4,
JDK1.5. etc.
Introduction To Java
Java (with a capital J) is a high-level, third generation programming language, like C, Fortran,
Smalltalk, Perl, and many others. You can use Java to write computer applications that crunch
numbers, process words, play games, store data or do any of the thousands of other things
Compared to other programming languages, Java is most similar to C. However although Java
shares much of C's syntax, it is not C. Knowing how to program in C or, better yet, C++, will
certainly help you to learn Java more quickly, but you don't need to know C to learn Java. Unlike
C++ Java is not a superset of C. A Java compiler won't compile C code, and most large C
programs need to be changed substantially before they can become Java programs.
What's most special about Java in relation to other programming languages is that it lets you
write special programs called applets that can be downloaded from the Internet and played safely
within a web browser. Traditional computer programs have far too much access to your system
10
Banking Management System
to be downloaded and executed willy-nilly. Although you generally trust the maintainers of
various ftp archives and bulletin boards to do basic virus checking and not to post destructive
software, a lot still slips through the cracks. Even more dangerous software would be
promulgated if any web page you visited could run programs on your system. You have no way
of checking these programs for bugs or for out-and-out malicious behavior before downloading
Java solves this problem by severely restricting what an applet can do. A Java applet cannot
write to your hard disk without your permission. It cannot write to arbitrary addresses in memory
and thereby introduce a virus into your computer. It should not crash your system.
FEATURES OF JAVA
Java is Simple
Java is a Platform
Java is Object-Oriented
Java is Multi-Threaded
Java is secure
Java is a Platform
Java (with a capital J) is a platform for application development. A platform is a loosely defined
computer industry buzzword that typically means some combination of hardware and system
software that will mostly run all the same software. For instance PowerMacs running Mac OS
11
Banking Management System
9.2 would be one platform. DEC Alphas running Windows NT would bJava solves the problem
of platform-independence by using byte code. The Java compiler does not produce native
executable code for a particular machine like a C compiler would. Instead it produces a special
Java is Simple
Java was designed to make it much easier to write bug free code. According to Sun's Bill Joy,
shipping C code has, on average, one bug per 55 lines of code. The most important part of
Java has the bare bones functionality needed to implement its rich feature set. It does not add lots
of syntactic sugar or unnecessary features. Despite its simplicity Java has considerably more
Java is Object-Oriented
Object oriented programming is the catch phrase of computer programming in the 1990's.
Although object oriented programming has been around in one form or another since the Simula
language was invented in the 1960's, it's really begun to take hold in modern GUI environments
like Windows, Motif and the Mac. In object-oriented programs data is represented by objects.
Objects have two sections, fields (instance variables) and methods. Fields tell you what an object
is. Methods tell you what an object does. These fields and methods are closely tied to the object's
real world characteristics and behavior. When a program is run messages are passed back and
forth between objects. When an object receives a message it responds accordingly as defined by
its methods.
12
Banking Management System
Java was designed to not only be cross-platform in source form like C, but also in compiled
binary form. Since this is frankly impossible across processor architectures Java is compiled to
an intermediate form called byte-code. A Java program never really executes natively on the host
machine. Rather a special native program called the Java interpreter reads the byte code and
executes the corresponding native machine instructions. Thus to port Java programs to a new
platform all that is needed is to port the interpreter and some of the library routines. Even the
compiler is written in Java. The byte codes are precisely defined, and remain the same on all
platforms.
Java implements a robust exception handling mechanism to deal with both expected and
unexpected errors. The worst that an applet can do to a host system is bring down the runtime
Most importantly Java applets can be executed in an environment that prohibits them from
introducing viruses, deleting or modifying files, or otherwise destroying data and crashing the
13
Banking Management System
host computer. A Java enabled web browser checks the byte codes of an applet to verify that it
Java byte codes can be compiled on the fly to code that rivals C++ in speed using a "just-in-time
Java. These will produce executable code that does not require a separate interpreter, and that is
Java is Multi-Threaded
Java is inherently multi-threaded. A single Java program can have many different threads
executing independently and continuously. Three Java applets on the same page can run together
with each getting equal time from the CPU with very little extra effort on the part of the
programmer.
This makes Java very responsive to user input. It also helps to contribute to Java's robustness and
provides a mechanism whereby the Java environment can ensure that a malicious applet doesn't
a) Applets
b) Applications
c) Servlets
Java Applet
14
Banking Management System
An applet is a java program that can be executed only in a web browser .The applet adheres to
certain conventions that allow it to run within a java enabled browse e.g. Netscape, Microsoft
Internet Explorer. An applet is actually a tiny java program, dynamically downloaded from
Java Application
Java application is an application designed program that runs on you computer, under the
operating system of that computer. That is, an application created by java is more or less like one
Java Servlet
Another specialized program is a servlet. Servlets are similar to applets, in that they are runtime
extension of applications .Instead of working in browsers, though setvlet run within java servers.
JDK stands for java development kit. It contains all the tools to develop and execute java
applications .It can be downloaded for free from the sun Microsystems website. A programmer
needs the right set of tools to develop an application which consist of the tools to write, compile,
1) Compiler
A compiler is a tool that can convert program into a language that computer
system can follow. A compiler is necessary because most high-level programming language
follow the English language syntax, which the computer can not understand>the Java compiler is
known as JAVAC.
15
Banking Management System
2) Editor
This is a tool that is used to write the program using the language syntax of the
3) Executor
This tool, called the java class executor is used to run and execute the program.
4) Debugger
The Java debugger, jdb sorts out runtime problem and challenges
application.
16
Banking Management System
Back END:
Structure Query Language (SQL)
A query language for RDBMS based on. Non –procedure approach to retrieve record from
RDBMS.
SQL was proposed by IBM and got its standardization by ANSI and adopted by different
[<FIELD>]
[HAVING<CONDITION>]
17
Banking Management System
Identified by <password>
In a summarized way it could be concluded that SQL becomes the query engine that resides
over the database engine having been designed on the client-server Approach and provided
retrieval of data as well as operation on RDBMS. By the Application package and web pages.
Requirements Analysis is the process of understanding the customer needs and expectations from
a proposed system or application. Requirements are a description of how a system should behave
Online Banking System carries out account creation and transaction processing through internet
that provides an entire range of banking services online. It contains mainly four modules namely
The first module is account creation for a new user. The account can be Savings account
or current account. The details of the customer and his account are being fed to the
database through a registration form which is validated by the bank prior to addition to
the database. Once the request is permitted the user can submit the amount and open the
account.
18
Banking Management System
The second module consists of the various transactions that the customer can carry out.
The main transactions include deposit, withdrawal and money transfer. In this module
bank administrator gives the user ID and password in order to perform online
transactions. The user is also given the privilege to change his password which will be
automatically updated to the database. Each account holder can deposit and withdraw
The third module helps in calculating the interest due in the Type of saving account, This
interest amount can be either retrieved every month or will be added to his current
balance.
The ‘fourth module provides administrator to view all the details till to-date. It also
19
Banking Management System
During the analysis phase the existing system was studied. The data flow in the
existing system was studied .As part of the analysis; various documents for account opening,
money transferred issuing, Cash withdrawing, customer information reports, and transaction
reports were all collected. These were used in later stages to design the computerized forms used
the existing system was determined. The deliverable for this stage was documentation on the
existing system.
The system study is the first phase in the system life cycle. It involves studying the ways
an organization currently retrieves and process data to produce information with the goal of
determining how to make it better. For this, system analyst should develop alternative system
and evaluate each terms of cost, benefit and feasibility. The term analysis, design and
development are used in sequence, because in practice this sequence of steps used to construct
computer based information system. System analysis includes the investigation and possible
changes to the existing system. Analysis is used to gain an understanding of the existing system
description and set of requirements for a new system. If there is no existing system, then analysis
only defines the requirements. Development begins by defining a model of the new system and
continues this model to a working system. The module of the system shows what the system
must do to satisfy these' requirements. Finally, the data models are to a database and processed to
20
Banking Management System
Feasibility Study
Depending on the results of the initial investigation, the survey is expanded to a more detailed
feasibility study. A feasibility study is a test of a system proposal. According to its workability,
impact on the organization, ability to meet user’s needs and effective use of the resources its
Evaluation of existing system and procedures. Our group went to various Banking Professionals
to gather information about the software system. They are using and evaluating those system and
Analysis of alternative candidate systems after studying the various systems we derived various
alternatives through which we develop our project and evaluated the alternative. The most
appropriate is selected.
ECONOMIC FEASIBILITY:-
proposed system is that the paper work is reduced to the minimum and hence the
reduction in cost incurred on Stationary and its storage. The system provides many
benefits that can’t be measured in terms of Money for e.g. user’s friendliness, more user
TECHNICAL FEASIBILITY:-
can be developed easily with the help of available technology. The proposed system
requires MS – VISUAL Studio 2005 using VB.Net as a Interface for Programming &
21
Banking Management System
back-end as MS-SQL Server 2000 for storing/maintaining database. The database can be
OPERATIONAL FEASIBILITY:-
proposed system is highly user friendly and is much easily able to interact with the
system. Therefore the users will readily accept the system as data entry and making
22
Banking Management System
EXISTING SYSTEM
> The present system consists of networking environment wherein regular activities are
automated.
> However activities like Demand Draft issues, Pay Order issues are done manually and
> Further the status of a pay order whether the same has been honored or not cannot be
> Above all in manual system, only the man responsible for DD/Pay issue is aware of the
> Readability of the records, which are maintained manually, is also constrained
> Since record are kept on a paper registers, again is also a problem.
> Further retrieving information from such records for a period is tedious, as the storage
> Also report generation of the various areas is done manually using great
> Erroneous records may lead to misleading information, which is more likely in manual
system.
> The great limitation to the existing system is that the service to the customers is limited to
the bank hours only. The online banking facility provides 24 hours service to the
customer.
23
Banking Management System
24
Banking Management System
PROPOSED SYSTEM
In order to overcome the drawbacks in the existing system database is created which is:
> Integrated
> Accessibility
> Reliable
> Consistent
> Flexible
> Secure
> Offers options of the online updating and in main ting up to date
information.
> Validity of input data is automatically checked and error will be immediately signaled
25
Banking Management System
26
Banking Management System
POBLEM ANALYSIS
Security Issues
While making online payments or transferring money from one account to another, the
online bankers are always concerned about the hackers and anti-social elements. Hacking
enables the unethical hackers to penetrate the accounts of online bankers, and spend their
money. Availability of confidential information which is just secured by a user name and
For availing the benefits of online banking one should have access to the Internet. For
this purpose, he should own a desktop, laptop or PDA device, and an Internet connection.
This reason limits the usage of online banking, as sometimes it's almost impossible to
have an Internet connection, to serve the purpose. One might also face problems if the
eavesdrop his user name and password, while accessing it in a cyber cafe.
While carrying out online transactions there are many instances when the banker might
need help of a representative, from the bank. The brick and mortar banks have customer
care representatives who are easier to talk to, but in case of online banking, in which the
banks provide customer care numbers, the bankers find it difficult to get their problems
solved. Sometimes there is congestion in the network and they have to wait for some
time, in order to talk to the bank's representative at the other end. Once the line is put
through, one may either get somebody helpful and knowledgeable or may not, leaving
27
Banking Management System
Although online banking involves risk and imposes certain problems, there are many
facilities provided by it. To avail these benefits, it is important for one to educate himself
about the risks, and the steps he can take to protect his financial information. It is also
happens, there's no backup branch that you can go to -- and the phone lines will be
clogged.
28
Banking Management System
System Design
Data Flow Diagram
Data flow diagrams illustrate how data is processed by a system in terms of inputs and outputs.
Data flow diagrams can be used to provide a clear representation of any business function. The
technique starts with an overall picture of the business and continues by analyzing each of the
functional areas of interest. This analysis can be carried out to precisely the level of detail
required. The technique exploits a method called top-down expansion to conduct the analysis in
a targeted way.
As the name suggests, Data Flow Diagram (DFD) is an illustration that explicates the passage of
information in a process. A DFD can be easily drawn using simple symbols. Additionally,
complicated processes can be easily automated by creating DFDs using easy-to-use, free
downloadable diagramming tools. A DFD is a model for constructing and analyzing information
processes. DFD illustrates the flow of information in a process depending upon the inputs and
outputs. A DFD can also be referred to as a Process Model. A DFD demonstrates business or
technical process with the support of the outside data saved, plus the data flowing from the
Design is the first step into the development phase for any product or system. Design is a
creative process. A good design is the key to effective system. The term “design” is defined as
“the process of applying various techniques and principles for the purpose of defining a process
or a system in sufficient detail to permit its physical realization”. It may be defined as a process
of applying various techniques and principles for the purpose of defining a device, a process or a
system in sufficient detail to permit its physical realization. Software design sits at the technical
kernel of the software engineering process and is applied regardless of the development
paradigm that is used. The system design develops the architectural detail required to build a
29
Banking Management System
system or product. As in the case of any systematic approach, this software too has undergone
the best possible design phase fine tuning all efficiency, performance and accuracy levels. The
design phase is a transition from a user oriented document to a document to the programmers or
database personnel. System design goes through two phases of development: Logical and
Physical Design.
LOGICAL DESIGN:
The logical flow of a system and define the boundaries of a system. It includes the
following steps:
Reviews the current physical system – its data flows, file content, volumes, Frequencies
etc.
Prepares output specifications – that is, determines the format, content and Frequency of
reports.
Prepares input specifications – format, content and most of the input functions.
Prepares a logical design walk through of the information flow, output, input, Controls
30
Banking Management System
PHYSICAL DESIGN:
Physical system produces the working systems by define the design specifications that tell the
programmers exactly what the candidate system must do. It includes the following steps.
Design physical information flow through the system and a physical design
Devise a test and implementation plan and specify any new hardware/software.
BANKING TRANSACTIONS
ACCOUNT HOLDERS
DATABASE
31
Banking Management System
3.0
Account (c)
User Details Opening process
(d)
Reply
4.0 (e)
Account Transaction
Valid user (f)
Access
6.0 (i)
Customer
user
Feed Back
Valid (j)
Access
7.0 (k)
Administrator Transfer Amount
Valid Administrator
Update Process
(l)
32
Banking Management System
1.1 1.2
Registration Info Registration Verify data Verification
Valid User
Register Info
Update 1.3
Processing
Registration
Login Info
33
Banking Management System
4.1
Money Transfer
Valid user
Money_Transfer
4.2
Valid user Account
Balance Branch
Balance Enquiry
Account_tab
4.3
Deposit cash Deposit
34
Banking Management System
Database/Table Design
A database is an organized mechanism that has the capability of storing
information through which a user can retrieve stored information in an effective and efficient
manner. The data is the purpose of any database and must be protected.
The database design is a two level process. In the first step, user requirements are
gathered together and a database is designed which will meet these requirements as clearly as
possible. This step is called Information Level Design and it is taken independent of any
individual DBMS.
In the second step, this Information level design is transferred into a design for the
specific DBMS that will be used to implement the system in question. This step is called
Physical Level Design, concerned with the characteristics of the specific DBMS that will be
used. A database design runs parallel with the system design. The organization of the data in the
database is aimed to achieve the following two major objectives.
o Data Integrity
o Data independence
in a set of tables with very simple structure. The purpose of normalization is to make tables as
simple as possible. Normalization is carried out in this system for the following reasons.
To structure the data so that there is no repetition of data , this helps in saving.
35
Banking Management System
To reduce the need to restructure or reorganize data which new application Requirements
arise.
resembles a table of values or file of records. In formal relational model terminology, a row is
called a tuple, a column header is called an attribute and the table is called a relation. A relational
database consists of a collection of tables, each of which is assigned a unique name. A row in a
A table is a relation. The rows in a table are called tuples. A tuple is an ordered set of n
elements. Columns are referred to as attributes. Relationships have been set between every
table in the database. This ensures both Referential and Entity Relationship Integrity. A
data type from which the data values forming the domain are drawn. It is also useful to
specify a name for the domain to help in interpreting its values. Every value in a relation is
RELATIONSHIPS:
o Table relationships are established using Key. The two main keys of prime importance
are Primary Key & Foreign Key. Entity Integrity and Referential Integrity Relationships
o Entity Integrity enforces that no Primary Key can have null values.
o Referential Integrity enforces that no Primary Key can have null values.
36
Banking Management System
o Referential Integrity for each distinct Foreign Key value, there must exist a matching
Primary Key value in the same domain. Other key are Super Key and Candidate Keys.
o Relationships have been set between every table in the database. This ensures both
NORMALIZATION:
As the name implies, it denoted putting things in the normal form. The application
developer via normalization tries to achieve a sensible organization of data into proper tables and
columns and where names can be easily correlated to the data by the user. Normalization
eliminates repeating groups at data and thereby avoids data redundancy which proves to be a
The First Normal Form states that the domain of an attribute must include only atomic
values and that the value of any attribute in a tuple must be a single value from the domain of
that attribute. In other words 1NF disallows “relations within relations” or “relations as attribute
values within tuples”. The only attribute values permitted by 1NF are single atomic or indivisible
values.
The first step is to put the data into First Normal Form. This can be donor by moving data
into separate tables where the data is of similar type in each table. Each table is given a Primary
37
Banking Management System
Key or Foreign Key as per requirement of the project. In this we form new relations for each non
A relation is said to be in first normal form if only if it satisfies the constraints that contain the
According to Second Normal Form, for relations where primary key contains multiple
attributes, no non key attribute should be functionally dependent on a part of the primary key.
In this we decompose and setup a new relation for each partial key with its dependent
attributes. Make sure to keep a relation with the original primary key and any attributes that are
fully functionally dependent on it. This step helps in taking out data that is only dependant on
A relation is said to be in second normal form if and only if it satisfies all the first normal
form conditions for the primary key and every non-primary key attributes of the relation is fully
According to Third Normal Form, Relation should not have a non key attribute
functionally determined by another non key attribute or by a set of non key attributes. That is,
In this we decompose and set up relation that includes the non key attributes that functionally
determines other non key attributes. This step is taken to get rid of anything that does not depend
A relation is said to be in third normal form if only if it is in second normal form and more over
the non key attributes of the relation should not be depend on other non key attribute.
39
Banking Management System
40
Banking Management System
41
Banking Management System
SPLASH FORM
Source Code:-
/*
* To change this license header, choose License Headers in
Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
42
Banking Management System
*/
package banking_system;
import javax.swing.JOptionPane;
/**
*
* @author Thakur_Jee
*/
public class LoginHome extends javax.swing.JFrame {
/**
* Creates new form LoginHome
*/
String s3, s4, s5, s7, s6, stracc, strtype,stracchol;
public LoginHome() {
initComponents();
43
Banking Management System
/**
* This method is called from within the constructor to
initialize the form.
* WARNING: Do NOT modify this code. The content of this
method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated
Code">
private void initComponents() {
44
Banking Management System
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_
ON_CLOSE);
jLabel2.setIcon(new
javax.swing.ImageIcon(getClass().getResource("/banking_syste
m/Home.gif"))); // NOI18N
45
Banking Management System
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlaceme
nt.RELATED)
.addComponent(jLabel1))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.LEADING)
.addComponent(jLabel1)
.addComponent(jLabel2))
46
Banking Management System
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
);
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
.addGap(0, 0, Short.MAX_VALUE)
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
.addGap(0, 54, Short.MAX_VALUE)
47
Banking Management System
);
48
Banking Management System
jButton1.addActionListener(new
java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent
evt) {
jButton1ActionPerformed(evt);
}
});
49
Banking Management System
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(136, 136, 136)
.addComponent(jLabel4)
.addGap(18, 18, 18)
.addComponent(txtUser,
javax.swing.GroupLayout.PREFERRED_SIZE, 145,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel3Layout.createSequentialGroup()
50
Banking Management System
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.TRAILING)
.addComponent(jLabel5)
.addComponent(jButton1,
javax.swing.GroupLayout.PREFERRED_SIZE, 155,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.LEADING, false)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(15, 15, 15)
.addComponent(jButton2,
javax.swing.GroupLayout.PREFERRED_SIZE, 136,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel3Layout.createSequentialGroup()
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlaceme
nt.RELATED)
.addComponent(txtPass)))))
51
Banking Management System
.addContainerGap(104, Short.MAX_VALUE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
jPanel3Layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addComponent(jLabel3,
javax.swing.GroupLayout.PREFERRED_SIZE, 171,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(152, 152, 152))
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Ali
gnment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(30, 30, 30)
.addComponent(jLabel3)
.addGap(42, 42, 42)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.BASELINE)
52
Banking Management System
.addComponent(jLabel4)
.addComponent(txtUser,
javax.swing.GroupLayout.PREFERRED_SIZE, 35,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(23, 23, 23)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.BASELINE)
.addComponent(jLabel5)
.addComponent(txtPass,
javax.swing.GroupLayout.PREFERRED_SIZE, 35,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(48, 48, 48)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.Gro
upLayout.Alignment.LEADING, false)
.addComponent(jButton1,
javax.swing.GroupLayout.DEFAULT_SIZE, 42,
Short.MAX_VALUE)
.addComponent(jButton2,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
53
Banking Management System
.addContainerGap(57, Short.MAX_VALUE))
);
layout.createParallelGroup(javax.swing.GroupLayout.Alignment
.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel1,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))
.addComponent(jPanel2,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
.addGap(174, 174, 174)
54
Banking Management System
.addComponent(jPanel3,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE,
Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment
.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel1,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jPanel3,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGap(18, 18, 18)
55
Banking Management System
.addComponent(jPanel2,
javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
);
pack();
}// </editor-fold>
public void getuserDetail() {
try {
connection.open();
connection.rs = connection.stm.executeQuery("SELECT
name,acc_no,acct_type from registration where email='" +
txtUser.getText() + "'");
while (connection.rs.next())
{
s5 = connection.rs.getString(1);
s6 = connection.rs.getString(2);
strtype = connection.rs.getString(3);
}
56
Banking Management System
connection.close();
customer p = new customer();
p.setLabelText(s5);
p.setText("Welcome " + s5);
connection.open();
connection.rs = connection.stm.executeQuery("SELECT
account_no from account_detail where account_type='" +
strtype + "' OR cust_Name='" +s5 + "'");
while (connection.rs.next()) {
stracc = connection.rs.getString(1);
// stracchol = connection.rs.getString(2);
}
connection.close();
p.txtaccdisp.setText(stracc);
57
Banking Management System
s3 = connection.rs.getString(1);
s4 = connection.rs.getString(2);
}
connection.close();
58
Banking Management System
new account_register();
this.hide();
//flogin.setVisible(false);
} else {
JOptionPane.showMessageDialog(null, "Wrong
username or password", "Attention", 0);
}
txtUser.setText("");
txtPass.setText("");
59
Banking Management System
ex.printStackTrace();
}
}
private void
jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
validateuser();
}
private void
jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
login ln =new login();
ln.hide();
ln.f1.setVisible(true);
}
60
Banking Management System
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and
feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay
with the default look and feel.
* For details see
http://download.oracle.com/javase/tutorial/uiswing/lookandfe
el/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
61
Banking Management System
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(LoginHome.class.getName()).
log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(LoginHome.class.getName()).
log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(LoginHome.class.getName()).
log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException
ex) {
java.util.logging.Logger.getLogger(LoginHome.class.getName()).
log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
62
Banking Management System
63
Banking Management System
64
Banking Management System
65
Banking Management System
66
Banking Management System
We can establish and start various Branches and available help centers for Account Holder’s
Queries.
We can also deal through internet by creating web pages and a banking website for internet
dealing.
To attract Account Holder’s we can offer various offers during festivals months.
To have more and more customer satisfaction we will emphasize more and more on our
dealings.
67
Banking Management System
Conclusion
The project was started keeping in mind two aspects. Firstly the project fulfills the user’s
requirement, Secondly it could be used as a utility. The project undertaken has been successful in
covering both the aspects. Although there is always a scope for improvement, this project has the
feature for up gradation and can be easily up grated to the changing requirements as when
required. It was a small effort to make something exactly of the requirements or the Banking.
This project would not have been possible without the support and guidance of the institution,
teachers and the trainer who helped us in every way to complete it in time.
Hope this project paves the way for further such efforts.
68
Banking Management System
BOOK: -
WEBSITES: -
https://docs.oracle.com/javase/tutorial/
http://www.javatpoint.com/java-tutorial
http://www.investopedia.com/university/banking-system/
https://www.khanacademy.org/economics-finance-domain/core-
finance/money-and-banking
SEARCH ENGINES: -
69