Está en la página 1de 16

ACKNOWLEDGEMENT

I extend my sincere thanks to Vidhya Niketan Public School which


provided me with the opportunity to fulfill my wish and achieve my
goal.
I would like to express deep debt to Mrs.Rashida Bhanu project guide
for her vital suggestions, meticulous guidance and constant motivation
which went a long way in the successful completion of this project.
On a moral personal note, my deepest appreciation and gratitude to my
beloved parents, who have been an inspiration and have provided me
with unrelenting encouragement and support.
- K.Barath

CERTIFICATE
This is to certify that the Dissertation entitled, E-Governance is a
bonafide work done by K.Barath of class XII-A during the academic
session 2015-2016 is partial fulfillment of CBSEs AISSCE Examination
2016 and has been carried out under my direct supervision and guidance.
This report or a similar report on the topic has not been submitted for
any other examination and does not form a part of any other course
undergone by the candidate.

_____________
Signature of Teacher

_________________
Signature of Principal

Seal of the school

INTRODUCTION
The project titled E-Governace is for monitoring and controlling
the application process for drivers license and registration of vehicle.
This project is designed & coded in Netbeans 7.3.1 & database
management is handled by MySQL 5.0.E-Governace is a java
application written on 32-bit, Windows XP operating system, designed
to help users maintain and organize application process .All the
applications stored by the user will be stored in MySQL for future
reference. This software is easy to use for both beginners and advanced
users. It features a familiar and well thought-out, an attractive user
interface, combined with strong searching insertion and reporting
capabilities.
MINIMUM HARDWARE REQUIREMENTS

Processor : Pentium IV or better


RAM : 128 MB or more
Hard Disk : 20GB
Monitor : Any
Key Board : 122 Keys

MINIMUM SOFTWARE REQUIREMENTS

Operating System : Windows 98, Windows XP, Windows 7 or


better

Language : Java 7 Runtime Environment or better


Front End : Netbeans 7.3.1

Back End : MySQL server 5.0

SOFTWARE INTERFACE
FORM 1

CODING: (LINKING TWO FORMS)

jButton1:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt)
{
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Registration().setVisible(true);
}
});
}

jButton2:
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
{
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Permanent().setVisible(true);
}
});
}

FORM 2-(Application for Registration of motor vehicle)

CODING:
values in

jButton1: (Storing the


MySQL)

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {


String a,b,c,p,f,g,h,i,j,k;
a=jTextField1.getText();
b=jTextField2.getText();
c=jTextArea1.getText();
p=jTextField3.getText();
f=jTextField4.getText();
g=jTextField5.getText();
h=jTextField6.getText();
i=jTextField7.getText();
j=jTextField8.getText();
k=jTextField9.getText();
try
{
Class.forName("java.sql.DriverManager");
Connection con = (Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/E_GOVERNA
NCE","root","");
Statement Stmt = (Statement) con.createStatement();
String query="INSERT INTO REGISTRATION
VALUES('"+a+"','"+b+"','"+c+"','"+p+"','"+f+"','"+g+"','"+h+"','"+i+"','"+j+"','"+k+
"');";
Stmt.executeUpdate(query);
}

catch(Exception e) { JOptionPane.showMessageDialog(this,e.getMessage());}
JOptionPane.showMessageDialog(this,"Your application is being
processed.");}

jButton2: (Exit)
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
{
System.exit(0);

FORM 3-(Application for Permanent Drivers License)

CODING
(Storing the

jButton1:

values in MySQL)
private

void

jButton1ActionPerformed(java.awt.event.ActionEvent evt) {

String a,b,c,p,f,g,h,i;
a=jTextField1.getText();
b=jTextField2.getText();
c=jTextArea1.getText();
p=jTextField3.getText();
f=jTextField4.getText();
g=jTextField5.getText();
h=jTextField6.getText();
i=jTextField7.getText();
try
{
Class.forName("java.sql.DriverManager");
Connection con = (Connection)
DriverManager.getConnection("jdbc:mysql://localhost:3306/E_G
OVERNANCE","root","");
Statement Stmt = (Statement) con.createStatement();
String query="INSERT INTO DRIVERS_LICENSE
VALUES('"+a+"','"+b+"','"+c+"','"+p+"','"+f+"','"+g+"','"+h+"','"+i+"');";
Stmt.executeUpdate(query);
}
catch(Exception
{ JOptionPane.showMessageDialog(this,e.getMessage());}

e)

JOptionPane.showMessageDialog(this,"Your application is being


processed.");
}
jButton2: (Exit)
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
System.exit(0);

MYSQL:
TABLE FOR REGISTRATION OF MOTOR VEHICLE:

TABLE FOR APPLICATION OF PERMANENT VEHICLE:

RESULT:

The program on E-Governance has been created successfully using


database connectivity.

BIBLIOGRAPHY:
www.Google.com
NCERT cbse class XII TextBook
NCERT cbse class XI TextBook

También podría gustarte