Professional Documents
Culture Documents
A PROJECT REPORT
Submitted to
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
by
Student Name: I. Vinay Kumar Reddy
Reg. No : 191611109
Supervisor
Guide name :MS. Deepa
1|Page
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
2|Page
DECLARATION BY THE CANDIDATE
SIGNATURE
3|Page
ABSTRACT
is to get quick information on cricket players and fans are mainly interested to know their
favourite players details. The boardcasters of cricket didn’t show cricket players details
between the match, at the time it is very useful to know player details. In this project firstly
person should confirm their identity by authentication. Authentication form is front end is written
in java language. After confirmation of identity, player search form is displayed. Player search
form is written in java . Then, person search any player. In this project JAVA is used for
frontend, SQL is used as backend. SQL is used store player details like name, age , country,
batting style, bowling style, runs scored, matches played, balls faced, centuries , fiftes , double
hundreds etc. The project is written with the SQLsever which requires less work and most time
efficient even can be handled by nontechnical persons.It is very easy to use because it is not highly
complicated .It can be operated a person who knows basic computer operating. Statistics portal is
4|Page
ACKNOWLEDGEMENT
This project work would not have been possible without the contribution of many people.
N. M. Veeraiyan, Saveetha Institute of Medical and Technical Sciences, for his blessings and
for being a source of inspiration. Isincerely thank our Vice Chancellor,Dr. JawaharNesan, for
his visionary thoughts and support.I am indebted to extend my gratitude to our Director
facilities and extended support to gain valuable education and learning experience.
Engineering and Dr. S. Anusuya, HoD, Department of Computer Science and Engineering, for
the support given to me in the successful conduct of this project.I wish to express my sincere
gratitude to my supervisor,Ms. Deepa for her inspiring guidance, personal involvement and
I am grateful to Project Coordinators, Review Panel External, Internal Members and the
entire faculty of the Department of Computer Science and Engineering, for their constructive
criticisms and valuable suggestions which have been a rich source to improve the quality of this
work.
5|Page
TABLE OF CONTENTS
Abstract 4
List of Figures 8
List of Abbreviations 9
1 INTRODUCTION 10
1.1 Introduction of Domain/Project 10
1.2 Objective of the Problem 10
1.3 Scope of the project 11
2 LITERATURE REVIEW 12
3 PROBLEM STATEMENT AND METHODOLOGY 14
3.1 PROBLEM DEFINATION 14
3.2 METHODOLOGY 14
3.2.1 Existing system 14
3.2.2 Proposed system 14
3.3 SYSTEM ARCHITECTURE 15
3.4 UML DIAGRAMS 16
3.4.1 Use case Diagram 16
3.4.2 Class Diagram 17
4 SYSTEM IMPLEMENTATION 18
4.1 MODULES DESCRIPTION 18
6|Page
4.2 Sample Query 19
7 References 45
7|Page
LIST OF FIGURES
8|Page
LIST OF ABBREVIATIONS
9|Page
CHAPTER 1
INTRODUCTION
1.1Introduction:
“Statistical report on cricket players” name suggests that total details on cricket
players namely player name, age, country, batting style, bowling style, balls faced, runs scored,
etc. Likewise player details viewers can see each format. Statistics means collection, analysis,
interpretation, presentation and organisation of data.In this statistics is used collect the data of
player in presentation form.
In cricket each team will play 11 members and officially 15 countries are recognized by
ICC(International Cricket Council). The ICC is the international governing body of cricket. ICC
will conduct all trophies including worldcup etc.
The Theme of the project is to provide the complete details of staticallyreports. The report will
provide information of
1. Country
2. Player Details
By entering the data of each match, we can retrieve it and to see the performance of the team and
the players in the tour and also the winning rate can be calculated. Graphical representation of
BAR diagram is used in therepresentation of the RUNS and CAREER GROWTH of a player, so
that the viewer can understand those very easily.
1. Country details
2. Player Details likename, age, country, batting style, bowling style, balls faced, runs scored
etc.
10 | P a g e
3. Runs Detail Entry
4. Player Wise Detail Entry
5. Match wise Comparison
The scope of the project to give graphical presentation of player career growth and
country detail entry, match detail entry, runs detail entry, player detail entry etc.
In this module country details are adding, officially ICC announced that 15 major
countries for cricket game namely India, Australia, New Zealand,
South Africa, Pakistan, West Indices, Netherlands, Scotland, England, Nepal, Canada, Kenya,
Bangladesh, Sri Lanka, Afghanistan.
11 | P a g e
CHAPTER 2
LITERATURE SURVEY
Graphical Display of the data is also provided, so one get graph instantly whenever it is required.
We are using bar graphs here. In future we can make in many types. The bar graphs are provided
to so Runs scored by each player in match. The bar Graphs also provided for each player to so
his performance in all matches he played. So graphs helps to analyze the information faster also
it is attractive compare to the data display.This project is very use for Cricket match broadcasters
to get information quickly. Also for Cricket lovers who very much interested in Cricket
Statistics.
The project is written in Visual Basic 6.0 with ADO (Activex Data Objects), The back end for
the project is MS Access. The project is designed very user friendly such that even people who
knows only the basic operation of the computer can use this software. So no technical expertise
is required to use this software.
12 | P a g e
.MERITS:
DESCRIPTION:
A web project for managing a cricket club. This software system consists of various online
booking and management functionaries needed by a cricket club. It consists of ground bookings,
member registrations, notice posting, member registration, batch registration and more features.
The software system is designed to efficiently manage and maintain the functioning on a cricket
club. The project consists of the following features:
Ground Booking: The user may fill and apply for club ground booking using an online
form. Once the admin approves this the ground is booked accordingly.
Member Registration: People may register for the club membership.
Batch Registration: People may register for various cricket training batches through the
website contact form.
Notices: Recent notices can be seen on the start page as they are posted by the admin.
Admin Login: The project consists of an admin panel. Admin may approve and
disapprove various ground booking requests, may check various members of the club and
also people registered for various batches.
MERITS:
13 | P a g e
CHAPTER 3
3.2 METHODOLOGY
There are so many existing systems namely cricket database management, cricket club
database management. In cricket club database management has more drawbacks are:
1. It is used in online mode only.
2. It is difficult to use by non-technical persons.
3. In this they shown only cricket game rules, teams, grounds.
4. It involves several factors such asdifferent stakeholders, financial /economical,
collection &transport, etc.
By this project ,viewers can understand statistics on cricket players easily. In this users
can access the software easily. The cricket media also use this software for taking player
analysis. According financial status , is very cheap because it was open source type software.
14 | P a g e
Advantages:
E-R diagram:
System architecture
15 | P a g e
3.4 UML DIAGRAMS
16 | P a g e
3.4.2Class Diagram
The class diagram indicates how the unique entities (people, things, and data) relate to
each other; in different words, it indicates the static constructions of the system. A class diagram
can be used to show logical classes. Class diagrams can additionally be used to exhibit
implementation classes, which are the things that programmers generally deal with. A class is
depicted on the category layout as a rectangle with three horizontal sections, as proven in above
figure. The higher area indicates the class's name; the centre area consists of the class's attributes;
and the decrease area carries the class's operations (or "methods"). The design has 5 primary
training which provide the attributes and operations used in every class.
17 | P a g e
CHAPTER 4
SYSTEM IMPLEMENTATION
4.1MODULES DESCRIPTION
In this module country details are adding, officially ICC announced that 15 major
countries for cricket game namely India, Australia, NewZealand, South Africa, Pakistan,
West Indices, Netherlands, Scotland, England, Nepal, Canada, Kenya, Bangladesh, Sri
Lanka, and Afghanistan.
In this module match details are adding like schedule planning. For example match held
between England and India .Likewise all match details are storing.
In this module runs of each player adding like test rankings, odi rankings, t20
rankings etc. For example virat kohil in test ranking is 2,odi ranking is 1, t20 ranking is
2.
18 | P a g e
4.2 SQL Query:
CREATE DATABASE CRICKET;
USE CRICKET;
INSERT INTO
PLAYER(playerid,playername,age,country,battingstyle,bowlingstyle,testmatchesplayed
,testinningsplayed,testruns,
testfifty,testhundreds,testdoublehundreds,testtriplehundreds,testhighestscore,testaverage
,testranking,odimatchesplayed,odiinningsplayed,odiruns, odififty
,odihundreds,odidoublehundreds,oditriplehundreds
,odihighestscore,odiaverage,odiranking,t20matchesplayed,t20inningsplayed,t20runs,
t20fifty,t20hundreds ,t20doublehundreds ,t20triplehundreds ,t20highestscore ,t20average
,t20ranking) VALUES('101','virat kohil','29','india','righthanded bat','rightarm medium',
'66','112','5554','16','21','6','0','243','54','2','208','200','9588','46','35','0','0','183','59','1','57','53','198
3','18','0','0','0','90','51','1')
public registerform() {
initComponents();
19 | P a g e
}
@SuppressWarnings("unchecked")
20 | P a g e
jButtonREGISTER = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
getContentPane().setLayout(null);
jLabel1.setText("NAME:");
jLabel2.setText("AGE");
jLabel3.setText("DOB(DD/MM/YYYY)");
jLabel4.setText("PLACE OF DOB:");
jLabel5.setText("GENDER:");
jLabel7.setText("MOTHER'S NAME");
jLabel8.setText("ADDRESS:");
jFormattedTextField1.addActionListener(new java.awt.event.ActionListener() {
jFormattedTextField1ActionPerformed(evt);
}});
jTextArea1.setColumns(20);
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);
jLabel9.setText(" REGISTRATION");
jButtonREGISTER.setText("REGISTER");
21 | P a g e
jButtonREGISTER.addMouseListener(new java.awt.event.MouseAdapter() {
jButtonREGISTERMouseClicked(evt);
});
jButtonREGISTER.addActionListener(new java.awt.event.ActionListener() {
jButtonREGISTERActionPerformed(evt);
});
jButton2.setText("CANCEL");
jLabelregister.addMouseListener(new java.awt.event.MouseAdapter() {
jLabelregisterMouseClicked(evt);
});
22 | P a g e
.addComponent(jLabel4))
.addComponent(jLabel7)))
.addGroup(jPanel3Layout.createSequentialGroup()
.addComponent(jLabel8))
.addGroup(jPanel3Layout.createSequentialGroup()
.addGroup(javax.swing.GroupLayout.Alignment.LEADING,
jPanel3Layout.createSequentialGroup()
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING
)
.addComponent(jLabel1)
.addComponent(jLabel2))
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jFormattedTextField2)
.addComponent(jFormattedTextField1)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
23 | P a g e
.addComponent(jFormattedTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 166,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(0, 0, Short.MAX_VALUE))))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING,
jPanel3Layout.createSequentialGroup()
addGap(8, 8, 8)
.addComponent(jLabel5)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jFormattedTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 166,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jFormattedTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, 166,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jFormattedTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, 166,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 275,
javax.swing.GroupLayout.PREFERRED_SIZE)).addGap(41, 41, 41))))
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(192, 192, 192)
.addComponent(jLabel9,javax.swing.GroupLayout.PREFERRED_SIZE,194,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING
)
.addGroup(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabelregister, javax.swing.GroupLayout.PREFERRED_SIZE, 171,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING,
jPanel3Layout.createSequentialGroup()
24 | P a g e
.addGap(142, 142, 142)
.addComponent(jButtonREGISTER)
.addGap(85, 85, 85)
.addComponent(jButton2))))
.addContainerGap(100, Short.MAX_VALUE)) );
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(
jPanel3Layout.createSequentialGroup().addGap(17, 17, 17).addComponent(jLabel9)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELIN
E).addComponent(jFormattedTextField1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel1))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELIN
E).addComponent(jLabel2).addComponent(jFormattedTextField2,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)).addGap(18, 18, 18)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELIN
E) .addComponent(jLabel3) .addComponent(jFormattedTextField3,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(23, 23, 23)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELIN
E).addComponent(jLabel).addComponent(jFormattedTextField4,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)).addGap(18, 18, 18)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel5)
.addComponent(jFormattedTextField5, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
25 | P a g e
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELIN
E).addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 23,
javax.swing.GroupLayout.PREFERRED_SIZE).addComponent(jFormattedTextField6,
javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
pack();
}// </editor-fold>
privatevoidjFormattedTextField1ActionPerformed(java.awt.event.ActionEventevt){}
private void jButtonREGISTERActionPerformed(java.awt.event.ActionEventevt) { }
private void jLabelregisterMouseClicked(java.awt.event.MouseEventevt) {
loginformlgf = new loginform();
lgf.setVisible(true);
lgf.pack();
lgf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.dispose();
}
public static void main(String args[]) {
try {
for (javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(registerform.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
26 | P a g e
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(registerform.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(registerform.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(registerform.class.getName()).log(java.util.logging.Level.SE
VERE, null, ex);
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new registerform().setVisible(true);
}
});
private javax.swing.JButton jButton2;
private javax.swing.JButtonjButtonREGISTER;
private javax.swing.JFormattedTextField jFormattedTextField1;
private javax.swing.JFormattedTextField jFormattedTextField2;
private javax.swing.JFormattedTextField jFormattedTextField3;
private javax.swing.JFormattedTextField jFormattedTextField4;
private javax.swing.JFormattedTextField jFormattedTextField5;
private javax.swing.JFormattedTextField jFormattedTextField6;
private javax.swing.JFormattedTextField jFormattedTextField7;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
27 | P a g e
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JLabeljLabelregister;
private javax.swing.JPanel jPanel3;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
}
4.3.2 Sample code on Login
import javax.swing.JFrame;
public class loginform extends javax.swing.JFrame {
public loginform() {
initComponents();
this.setLocationRelativeTo(null);//center form in the screen
}
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
X = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jFormattedTextField1 = new javax.swing.JFormattedTextField();
jPasswordField1 = new javax.swing.JPasswordField();
jLabel3 = new javax.swing.JLabel();
jButtonLOGIN = new javax.swing.JButton();
jButtonCANCEL = new javax.swing.JButton();
jLabelmin = new javax.swing.JLabel();
28 | P a g e
jLabelclose = new javax.swing.JLabel();
jLabelregister = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
getContentPane().setLayout(null);
X.setBackground(new java.awt.Color(189, 195, 199));
X.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
jLabel1.setText("USERNAME:");
jLabel2.setText(" PASSWORD:");
jFormattedTextField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEventevt) {
jFormattedTextField1ActionPerformed(evt);
}
});
jButtonLOGIN.setText("LOGIN");
jButtonCANCEL.setText("CANCEL");
jLabelmin.setText("-");
jLabelmin.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEventevt) {
jLabelminMouseClicked(evt);
}
});
jLabelclose.setText("X");
jLabelclose.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEventevt) {
jLabelcloseMouseClicked(evt);
}
});
29 | P a g e
jLabelregister.setText("CLICK HERE CREATE A NEW ACCOUNT");
jLabelregister.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEventevt) {
jLabelregisterMouseClicked(evt);
}});
javax.swing.GroupLayoutXLayout = new javax.swing.GroupLayout(X);
X.setLayout(XLayout);
XLayout.setHorizontalGroup(
XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
XLayout.createSequentialGroup()
.addGap(0, 117, Short.MAX_VALUE)
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(XLayout.createSequentialGroup()
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel2)
.addComponent(jLabel1))
.addGap(62, 62, 62)
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jFormattedTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 121,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, 121,
javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(XLayout.createSequentialGroup()
.addComponent(jButtonLOGIN)
.addGap(140, 140, 140)
.addComponent(jButtonCANCEL)))
.addGap(145, 145, 145))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
XLayout.createSequentialGroup()
30 | P a g e
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
XLayout.createSequentialGroup()
.addComponent(jLabelmin, javax.swing.GroupLayout.PREFERRED_SIZE, 18,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jLabelclose, javax.swing.GroupLayout.PREFERRED_SIZE, 20,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
XLayout.createSequentialGroup()
.addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 273,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(130, 130, 130)))).addGroup(XLayout.createSequentialGroup()
.addGap(172, 172, 172)
.addComponent(jLabelregister)
.addGap(0, 0, Short.MAX_VALUE))
);
XLayout.setVerticalGroup(
XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(XLayout.createSequentialGroup()
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabelclose, javax.swing.GroupLayout.PREFERRED_SIZE, 55,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabelmin))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel3)
.addGap(47, 47, 47)
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
31 | P a g e
.addComponent(jFormattedTextField1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(27, 27, 27)
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(42, 42, 42)
.addGroup(XLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButtonLOGIN, javax.swing.GroupLayout.PREFERRED_SIZE, 41,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButtonCANCEL, javax.swing.GroupLayout.PREFERRED_SIZE, 44,
javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addComponent(jLabelregister)
.addContainerGap(358, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(X, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
32 | P a g e
.addComponent(X, javax.swing.GroupLayout.PREFERRED_SIZE,
javax.swing.GroupLayout.DEFAULT_SIZE,
javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 0, Short.MAX_VALUE))
);
getContentPane().add(jPanel1);
jPanel1.setBounds(0, 0, 536, 665);
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 100, Short.MAX_VALUE)
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 100, Short.MAX_VALUE)
);
getContentPane().add(jPanel2);
jPanel2.setBounds(0, 683, 100, 100);
pack();
}// </editor-fold>
private void jFormattedTextField1ActionPerformed(java.awt.event.ActionEventevt) {
}
private void jLabelminMouseClicked(java.awt.event.MouseEventevt) {
this.setState(JFrame.ICONIFIED);
}
private void jLabelcloseMouseClicked(java.awt.event.MouseEventevt) {
System.exit(0);
}
private void jLabelregisterMouseClicked(java.awt.event.MouseEventevt) {
33 | P a g e
registerformrgf = new registerform();
rgf.setVisible(true);
rgf.pack();
rgf.setLocationRelativeTo(null);
rgf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.dispose();
}public static void main(String args[]) {
try {
for (javax.swing.UIManager.LookAndFeelInfoinfo :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(loginform.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(loginform.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(loginform.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(loginform.class.getName()).log(java.util.logging.Level.S
EVERE, null, ex);
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new loginform().setVisible(true);
}
});
34 | P a g e
}
// Variables declaration - do not modify
private javax.swing.JPanel X;
private javax.swing.JButtonjButtonCANCEL;
private javax.swing.JButtonjButtonLOGIN;
private javax.swing.JFormattedTextField jFormattedTextField1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabeljLabelclose;
private javax.swing.JLabeljLabelmin;
private javax.swing.JLabeljLabelregister;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPasswordField jPasswordField1;
// End of variables declaration
}
4.3.3 Sample Code Player Searching form:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.sql.*;
class player extends JFrame implements ActionListener
{
JButton search;
JPanel panel;
35 | P a g e
JLabel label1,label2;
final JTextField text1,text2;
player()
{
label1=new JLabel("playername");
label2=new JLabel("playerid");
text1=new JTextField(15);
text2=new JTextField(15);
panel=new JPanel(new GridLayout(3,2 ));
panel=new JPanel();
panel.add(label1);
panel.add(text1);
panel.add(label2);
panel.add(text2);
search = new JButton("search");
panel.add(search);
add(panel,BorderLayout.CENTER);
setTitle("ENTER PLAYER NAME");
}
public void actionPerformed(ActionEvent e)
{
}
36 | P a g e
String url = "jdbc:mysql://localhost/t";
String user = "";
String password = "";
37 | P a g e
int oar=rs.getInt("odiruns" );
int of=rs.getInt("odififty" );
int oh=rs.getInt("odihundreds" );
int odh=rs.getInt("odidoublehundreds" );
int oth=rs.getInt("oditriplehundreds" );
int ohs=rs.getInt("odihighestscore" );
int oa=rs.getInt("odiaverage" );
int or=rs.getInt("odiranking" );
int tmmp=rs.getInt("t20matchesplayed" );
int ttip=rs.getInt("t20inningsplayed" );
int tttr=rs.getInt("t20runs" );
int ttft=rs.getInt("t20fifty");
int ttht=rs.getInt("t20hundreds");
int ttdht=rs.getInt("t20doublehundreds");
int tttht=rs.getInt("t20triplehundreds");
int tthst=rs.getInt("t20highestscore");
int ttat=rs.getInt("t20average");
int ttrt=rs.getInt("t20ranking");
}
System.out.println("search");
st.close();
conn.close();
}
class playername
{
public static void main(String arg[])
38 | P a g e
{
try
{
player p=new player();
p.setSize(1000,1000);
p.setVisible(true);
}catch(Exception e)
JOptionPane.showMessageDialog(null,e.getMessage( ));
}
}
}
39 | P a g e
CHAPTER 5
Explanation:
The diagram is the output which is used for authentication purpose .It is very important
for using application because non authorized persons will hack the entire software. In login
form user can get rights from server for usage purpose.
40 | P a g e
5.1.2 : Register Form :
41 | P a g e
Player Searching Software Form:
Explanation:This is the client login page where he can search by uusingplayerid and player
name.
42 | P a g e
5.2 OUTPUT ANALYSIS
Output Analysis is done by the comparison on existing system and proposed system.
0
playernames runs detail entry ranking detail entry
Existing Proposed
43 | P a g e
CHAPTER 6
Statistical reports on cricket players helps us to know player details . Many times don’t get
bore by seeing matches besides it is very interesting matches and on that time we see statistical
reports on cricket players. . This project can avoid such situations.. To enhance it further, an
automated system can be developed which is text to speech method.
44 | P a g e
CHAPTER 7
REFERENCES
1. C. J. Date, A. Kannan and S. Swamynathan, An Introduction to Database Systems, Pearson Education,
Eighth Edition, 2009.
2. Abraham Silberschatz, Henry F. Korth and S. Sudarshan, Database System Concepts, McGraw-Hill
Education (Asia), Fifth Edition, 2006.
3. Shio Kumar Singh, Database Systems Concepts, Designs and Application, Pearson Education, Second
Edition, 2011.
4. Peter Rob and Carlos Coronel, Database Systems Design, Implementation and Management, Thomson
Learning-Course Technology, Seventh Edition, 2007.
5. Patrick O’Neil and Elizabeth O’Neil, Database Principles, Programming and Performance, Harcourt
Asia Pte. Ltd., First Edition, 2001.
6. Atul Kahate, Introduction to Database Management Systems, Pearson ...David M. Kroenke (c2002),
Database processing : ìfundamentals, design & implementationî, Prentice Hall.
7. http://www.powerasp.com/ [11/04/2002 7:30 PM]
8. http://www.csis1.leeds.ac.uk/dbmodules/module_menu.asp?module=DB32 [11/04/2002 9:32 PM]
9. http://msdn.microsoft.com/library/ [11/04/2002 11:12 PM]
10. http://www.nicats.ac.uk/using/related.htm [19/06/2002 9:15 PM]
11. Simon Bennett, Steve McRobb and Ray Farmer (2002), Object-Oriented Systems Analysis and Design
Using UML, McGraw Hill.
12. Simon Bennett, John Skelton and Ken Lunn (2001), Schaumís Outlines of UML, McGraw Hill.
13. Thomas Connolly and Carolyn Begg (2002), Database Systems: ìA Practical Approach to Design,
Implementation, and Managementî, Addison Wesley.
14. Lydia Lau (2001), COMP5050 Information Modeling (Lecture Handouts), University of Leeds- School
of Computing.
15. http://www.december.com/web/develop/design.html [28/07/2002 7:30 PM]
16. http://www.15seconds.com/faq/IIS%203.0/471.htm [23/08/2002 9:10 PM]
17. A. G. Sutcliffe (1995), Human-Computer Interface Design, Macmillan press LTD.
18. Edward Kit (1995), Software Testing in the Real World: ìImproving the Processî, Addison Wesley.
19. Philippe Kruchten (1998), The Rational Unified Process: ìAn Introductionî, Addison Wesley.
45 | P a g e