School Management System: Sri Chaitanya Techno School
School Management System: Sri Chaitanya Techno School
School Management System: Sri Chaitanya Techno School
SUBMITTED BY:
R.name
CLASS:XII
Roll No:
CERTIFICATE
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/Guide
ACKNOWLEDGEMENT
undertook this Project work, as the part of my XII-Informatics Practices
Class XII
C O N T E N T S
1. Introduction ---------------------------------------------------------------------------- 6
This software, being simple in design and working, does not require much
of training to users, and can be used as a powerful tool for automating a
school System.
During coding and design of the software Project, Java NetBeans IDE, a
powerful front-end tool is used for getting Graphical User Interface (GUI)
based integrated platform and coding simplicity. As a back-end a powerful,
open source RDBMS, My SQL is used as per requirement of the CBSE
curriculum of Informatics Practices Course.
2. Objective & Scope of the Project
In its current scope, the software enables user to retrieve and update the
information from centralized database designed with MySQL . This
software does not require much training time of the users due to limited
functionality and simplicity.
3. Some application area like records of school time table, map are not
implemented in the project. It facilitates user to view add and update
record.
A Primary key is one or more fields whose value or values uniquely identify each
record in a table. In a relationship, a primary key is used to refer to specific record in
one table from another table. A primary key is called foreign key when it is referred to
from another table.
To find and retrieve just the data that meets conditions you specify, including data
from multiple tables, create a query. A query can also update or delete multiple
records at the same time, and perform built-in or custom calculations on your data.
The DBMS interprets and processes users' requests to retrieve information from a
database. In most cases, a query request will have to penetrate several layers of
software in the DBMS and operating system before the physical database can be
accessed. The DBMS responds to a query by invoking the appropriate subprograms,
each of which performs its special function to interpret the query, or to locate the
desired data in the database and present it in the desired order.
MySQL, the most popular Open Source SQL database management system, is
developed, distributed, and supported by Oracle Corporation. MySQL is named after
co-founder Monty Widenius's daughter, My. The name of the MySQL Dolphin (our
logo) is “Sakila,”.
Soon after, they were contacted by Roman Stanek, an entrepreneur who had already
been involved in several startups in the Czech Republic. He was looking for a good
idea to invest in, and discovered Xelfi. He met with the founders; they hit it off, and a
business was born.
In the spring of 1999, NetBeans DeveloperX2 was released, supporting Swing. The
performance improvements that came in JDK 1.3, released in the fall of 1999, made
NetBeans a viable choice for development tools. By the summer of 1999, the team
was hard at work re-architecting DeveloperX2 into the more modular NetBeans that
forms the basis of the software today.
Something else was afoot in the summer of 1999: Sun Microsystems wanted better
Java development tools, and had become interested in NetBeans. It was a dream
come true for the NetBeans team: NetBeans would become the flagship tool set of
the maker of Java itself! By the Fall, with the next generation of NetBeans Developer
in beta, a deal was struck. Sun Microsystems had also acquired another tools
company, During the acqusition, the young developers who had been involved in
open-source projects for most of their programming careers, mentioned the idea of
open-sourcing NetBeans. Fast forward to less than six months later, the decision was
made that NetBeans would be open sourced. While Sun had contributed considerable
amounts of code to open source projects over the years, this was Sun's first
sponsored open source project, one in which Sun would be paying for the site and
handling the infrastructure.
Features of NetBeans
Problem definition describes the What of a system, not How . The quality of a
software product is only as good as the process that creates it. Problem definition is
one of the most crucial steps in this creation process. Without defining a problem,
developers do not know what to build, customers do not know what to expect, and
there is no way to validate that the built system satisfies the requirement.
Problem definition and Analysis is the activity that encompasses learning about the
problem to be solved, understanding the needs of customer and users, trying to find
out who the user really is, and understanding all the constraints on the solution. It
includes all activities related to the following:
The proposed system should maintain all the records and transactions, and
should generate the required reports and information when required.
This software project maintains a database named School which contains the following tables.
Table Design:
The database of School Management System contains 6 tables. The tables are normalized to
minimize the redundancies of data and enforcing the validation rules of the organization. Most of
the tables are designed to store master records. The tables and their structure are given below.
Table: student
roll_no Integer 2
class Integer 2
section Char 1
contact_no Integer 10
Table: teacher
Name Varchar 30
post Char 3
subject Varchar 15
Table: feestructure
class Varchar 50
tutionfee Integer 3
vvn Integer 3
computer Integer 3
total Integer 4
ttotal Integer 4
Table: list
Sno. Integer 3
holiday Varchar 50
date date
day Varchar 10
Table: class
class Integer 2
section char 1
total Integer 2
boys Integer 2
girls Integer 2
classteacher varchar 20
Table: examschedule
nameofexam Varchar 40
natureofexams Varchar 50
class Varchar 10
tentetivedates Varchar 40
6.2 Menu Design:
JSS Infoware gateway comprises the following options, organized in a user friendly way. The menu
system divided in Menu Bars, each having a pull down menus containing options for a specific
task.
Sr. Menu Bar Pull Down Menu Further Menu Forms Attached
Subjectwise staffsub
1. Staff
Postwise staffpost
classwise studentclass
By subject sfbysub
By teacher ID sfbyid
By class stbyclass
Frame: JFrame
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","kvuc");
stm=con.createStatement();}
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
loginframe.setVisible(true); }
System.exit(0); }
Frame: loginframe
Coding of login frame
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
academic.setVisible(true);
loginframe.dispose();
loginframe.dispose();
sport.setVisible(true);
exhibition.setVisible(true);
loginframe.dispose();
libraryservices.setVisible(true);
loginframe.dispose();
valueedu.setVisible(true);
loginframe.dispose();
guidance.setVisible(true);
loginframe.dispose();
photogalary.setVisible(true);
loginframe.dispose();
jButton103.setVisible(false);
jButton105.setVisible(false);
jButton107.setVisible(false);
jButton108.setVisible(false);
jButton110.setVisible(false);
jButton115.setVisible(false);
if(jRadioButton1.isSelected())
{studentlogin.setVisible(true);
loginframe.dispose(); }
else if(jRadioButton2.isSelected())
{ staffpassword.setVisible(true);
loginframe.dispose();}
jRadioButton1.setSelected(false);
jRadioButton2.setSelected(false);}
loginframe.dispose(); }
Frame: Staffpassword
String u= jTextField1.getText();
if(u.equals("kvuc"))
{if(p.equals("12345"))
{stafflogin.setVisible(true)
staffpassword.dispose();}
else
JOptionPane.showMessageDialog(null,"You Have Entered Incorrect Password"); }
else
JOptionPane.showMessageDialog(null,"You Have Entered Incorrect User ID");
jTextField1.setText("");
jPasswordField1.setText(""); }
staffpassword.dispose();
loginframe.setVisible(true);
jTextField1.setText("");
jPasswordField1.setText(""); }
Frame: stafflogin
studentall.setVisible(true);
stafflogin.dispose();
addteacher.setVisible(true);
addstudent.setVisible(true);
stafflogin.dispose();
studentclass.setVisible(true);
stafflogin.dispose();
stafflogin.dispose();
staffall.setVisible(true);
stafflogin.dispose();
staffsub.setVisible(true);
stafflogin.dispose();
staffpost.setVisible(true);
stafflogin.dispose();
sfbyname.setVisible(true);
stafflogin.dispose();
sfbypost.setVisible(true);
stafflogin.dispose();
sfbysub.setVisible(true);
stafflogin.dispose();
loginframe.setVisible(true);
}
Frame: studentall
try
{rs=stm.executeQuery("select * from student;");
int a,r,c;
String n,f,s,co;
while (rs.next()){
a=rs.getInt("adm_no");
r=rs.getInt("roll_no");
c=rs.getInt("class");
n=rs.getString("name");
f=rs.getString("fathername");
s=rs.getString("section");
co=rs.getString("contact_no");
Object rec[]={a,r,n,f,c,s,co};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
private void jButton23ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
studentall.dispose();
stafflogin.setVisible(true); }
Frame: staffall
try
{rs=stm.executeQuery("select * from teacher;");
int t;
String n,p,s;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
p=rs.getString("post");
s=rs.getString("subject");
Object rec[]={t,n,p,s};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
staffall.dispose();
stafflogin.setVisible(true); }
Frame: staffsubject
try
{rs=stm.executeQuery("select * from teacher where subject="+"'"+jTextField24.getText()+"'"+";");
int t;
String n,p;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
p=rs.getString("post");
Object rec[]={t,n,p};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
sfbysub.dispose();
stafflogin.setVisible(true);
Frame: staffpost
private void jButton59ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
try
{rs=stm.executeQuery("select * from teacher where post='pgt';");
int t;
String n,s;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
s=rs.getString("subject");
Object rec[]={t,n,s};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
try
{rs=stm.executeQuery("select * from teacher where post='tgt';");
int t;
String n,s;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
s=rs.getString("subject");
Object rec[]={t,n,s};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
private void jButton61ActionPerformed(java.awt.event.ActionEvent evt) { //
TODO add your handling code here:
try
{rs=stm.executeQuery("select * from teacher where post='prt';");
int t;
String n,s;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
s=rs.getString("subject");
Object rec[]={t,n,s};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int t;
String n,s;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
s=rs.getString("subject");
Object rec[]={t,n,s};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
staffpost.dispose();
stafflogin.setVisible(true); }
Frame: staffclassteacher
private void jButton81ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jCheckBox1.setSelected(false);
jTextField34.setText("");
jTextField35.setText(""); }
stclteacher.dispose();
stafflogin.setVisible(true); }
Frame: addteacher
try
{stm.executeUpdate("insert into teacher values("+jTextField17.getText()+","+"
"+"'"+jTextField18.getText()+"'"+","+" "+"'"+ jTextField19.getText()+"'"+","+" "+"'"+
jTextField20.getText()+"'"+");");
catch(Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
jTextField17.setText("");
jTextField18.setText("");
jTextField20.setText(""); }
addteacher.dispose();
stafflogin.setVisible(true); }
Frame: studentall
private void jButton22ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
try
{rs=stm.executeQuery("select * from student;");
int a,r,c;
String n,f,s,co;
while (rs.next()){
a=rs.getInt("adm_no");
r=rs.getInt("roll_no");
c=rs.getInt("class");
n=rs.getString("name");
f=rs.getString("fathername");
s=rs.getString("section");
co=rs.getString("contact_no");
Object rec[]={a,r,n,f,c,s,co};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
private void jButton23ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
private void jButton24ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
studentall.dispose();
stafflogin.setVisible(true); }
Frame: studentclass
private void
jButton25ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
try
{rs=stm.executeQuery("select adm_no, roll_no, name, fathername, contact_no from student
where class="+jTextField12.getText()+" "+"&&"+" "+"section="+"'"+jTextField13.getText()+"'"+";");
int a,r;
String n,f,co;
while (rs.next()){
a=rs.getInt("adm_no");
r=rs.getInt("roll_no");
co=rs.getString("contact_no");
n=rs.getString("name");
f=rs.getString("fathername");
Object rec[]={a,r,n,f,co};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField12.setText(" ");
jTextField13.setText(" "); }
stafflogin.setVisible(true);
studentclass.dispose();
jTextField12.setText("");
jTextField13.setText(""); }
Frame: studentprime
try
{rs=stm.executeQuery("select * from student where class<6 order by class,section,roll_no;");
int a,r,c;
String n,f,s,co;
while (rs.next()){
a=rs.getInt("adm_no");
r=rs.getInt("roll_no");
c=rs.getInt("class");
n=rs.getString("name");
f=rs.getString("fathername");
s=rs.getString("section");
co=rs.getString("contact_no");
Object rec[]={a,r,n,f,c,s,co};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
studentprim.dispose();
stafflogin.setVisible(true); }
Frame: studentsec
private void jButton32ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
try
{rs=stm.executeQuery("select * from student where class>5 order by class,section,roll_no;");
int a,r,c;
String n,f,s,co;
while (rs.next()){
a=rs.getInt("adm_no");
r=rs.getInt("roll_no");
c=rs.getInt("class");
n=rs.getString("name");
f=rs.getString("fathername");
s=rs.getString("section");
co=rs.getString("contact_no");
Object rec[]={a,r,n,f,c,s,co};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
studentsec.dispose();
stafflogin.setVisible(true); }
Frame: addstudent
try
{stm.executeUpdate("insert into student values("+jTextField7.getText()+","+"
"+jTextField8.getText()+","+" "+"'"+ jTextField9.getText()+"'"+","+" "+"'"+ jTextField10.getText()+"'"+","+"
"+ jTextField4.getText()+","+" "+"'"+ jTextField5.getText()+"'"+","+" "+"'"+ jTextField6.getText()+"'"+");");
catch(Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
jTextField8.setText("");
jTextField9.setText("");
jTextField10.setText(""); }
addstudent.dispose();
stafflogin.setVisible(true);
Frame: classstrength
try
{rs=stm.executeQuery("select * from class;");
int c,t,g,b;
String s,cl;
while (rs.next()){
s=rs.getString("Section");
t=rs.getInt("total");
cl=rs.getString("classteacher");
c=rs.getInt("class");
g=rs.getInt("girls");
b=rs.getInt("boys");
Object rec[]={c,s,t,b,g,cl};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
Frame: calssparti
try
{rs=stm.executeQuery("select * from class where class="+jTextField32.getText()+" "+"&&"+"
"+"section="+"'"+jTextField33.getText()+"'"+";");
int c,t,g,b;
String s,cl;
while (rs.next()){
s=rs.getString("Section");
t=rs.getInt("total");
cl=rs.getString("classteacher");
c=rs.getInt("class");
g=rs.getInt("girls");
b=rs.getInt("boys");
Object rec[]={c,s,t,b,g,cl};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
private void jButton77ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField32.setText("");
jTextField33.setText(""); }
classparti.dispose();
stafflogin.setVisible(true); }
try
{rs=stm.executeQuery("select * from class where class<6 order by class, section;");
int c,t,g,b;
String s,cl;
while (rs.next()){
s=rs.getString("Section");
t=rs.getInt("total");
cl=rs.getString("classteacher");
c=rs.getInt("class");
g=rs.getInt("girls");
b=rs.getInt("boys");
Object rec[]={c,s,t,b,g,cl};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int c,t,g,b;
String s,cl;
while (rs.next()){|
s=rs.getString("Section");
t=rs.getInt("total");
cl=rs.getString("classteacher");
c=rs.getInt("class");
g=rs.getInt("girls");
b=rs.getInt("boys");
Object rec[]={c,s,t,b,g,cl};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
Frame: addclass
try
{stm.executeUpdate("insert into class values("+jTextField26.getText()+","+"
"+"'"+jTextField27.getText()+"'"+","+" "+ jTextField28.getText()+","+" "+jTextField29.getText()+","+" "+
jTextField30.getText()+","+" "+"'"+ jTextField31.getText()+"'"+");");
JOptionPane.showMessageDialog(null,"Entry Added Successfully"); }
catch(Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
jTextField26.setText("");
jTextField27.setText("");
jTextField28.setText("");
jTextField29.setText("");
jTextField30.setText("");
jTextField31.setText(""); }
addclass.dispose();
stafflogin.setVisible(true);
Frame: sfbyname
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage());
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField23.setText("");
sfbyname.dispose();
stafflogin.setVisible(true);
}
Frame: sfbypost
try
int t;
String n,s;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
s=rs.getString("subject");
Object rec[]={t,n,s};
tm.addRow(rec);
rs.close();
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage());
}
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField22.setText("");
sfbypost.dispose();
stafflogin.setVisible(true);
Frame: sfbysub
int t;
String n,p;
while (rs.next()){
t=rs.getInt("teacher_id");
n=rs.getString("name");
p=rs.getString("post");
Object rec[]={t,n,p};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField24.setText(""); }
sfbysub.dispose();
stafflogin.setVisible(true);
}
Frame: sfbyid
try
String n,p,s;
while (rs.next()){
s=rs.getString("Subject");
n=rs.getString("name");
p=rs.getString("post");
Object rec[]={n,p,s};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
sfbyid.dispose();
stafflogin.setVisible(true); }
Frame: stbyname
try
int a,r,c;
String n,f,s,co;
while (rs.next()){
a=rs.getInt("adm_no");
r=rs.getInt("roll_no");
c=rs.getInt("class");
n=rs.getString("name");
f=rs.getString("fathername");
s=rs.getString("section");
co=rs.getString("contact_no");
Object rec[]={a,r,n,f,c,s,co};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField11.setText(""); }
stbyname.dispose();
stafflogin.setVisible(true); }
Frame: sfbyclass
private void jButton38ActionPerformed(java.awt.event.ActionEvent evt) {
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField14.setText("");
jTextField15.setText(""); }
stbyclass.dispose();
stafflogin.setVisible(true); }
Frame: stbyadm
for(int i=0;i<x;i++)
tm.removeRow(0);
jTextField16.setText("");
stbyadm.dispose();
stafflogin.setVisible(true);
}
private void jButton85ActionPerformed(java.awt.event.ActionEvent evt) {
if(jComboBox1.getSelectedItem()=="Uniform")
{uniform.setVisible(true);
studentlogin.dispose();}
{feestructure.setVisible(true);
studentlogin.dispose();}
{codeofconduct.setVisible(true);
studentlogin.dispose();}
{examschedule.setVisible(true);
studentlogin.dispose();}
{listofholidays.setVisible(true);
studentlogin.dispose();}
studentlogin.dispose();
loginframe.setVisible(true);
Frame: uniform
"Classes I-V:-"+'\n'+
'\n'+"Classes VI-XII:-"+'\n'+
"1 wide placket in red colour. trouser - pleater with 2 waist band,"+'\n'+
"two pocket in frint and a hip pocket 2 wide Waist band" +'\n'+
'\n'+"Classes VI-XII:-"+'\n'+
"Classes I-II:-"+'\n'+
"Tunic- one piece princes line tunic with red colour 2 wide"+'\n'+
"Classes III-VIIi:-"+'\n'+
"1 wide placket in red colour. Skirt with 2 wide waist band."+'\n'+
"Classes IX-XII:-"+'\n'+
"in red colour on sleeve band. Length options for kurta 36 or 40."+'\n'+
"placket- centre front opening. Sleeve- Half Sleeve with 1 wide red"+'\n'+
"Edging at hem of sleeve. Side slit with red facimg. Waist coat-Stitched"+'\n'+
"at side seam with kurta. Trousers- Straight cut with waist band,"+'\n'+
"Classes I-II:-"+'\n'+
"Tunic- one piece princes line tunic with red colour 2 wide"+'\n'+
"Classes III-VIII:-"+'\n'+
"1 wide placket in red colour. Skirt with 2 wide waist band."+'\n'+
"Classes IX-XII:-"+'\n'+
"in red colour on sleeve band. Length options for kurta 36 or 40."+'\n'+
"placket- centre front opening. Sleeve- Half Sleeve with 1 wide red"+'\n'+
"Edging at hem of sleeve. Side slit with red facimg. Waist coat-Stitched"+'\n'+
"at side seam with kurta. Trousers- Straight cut with waist band,"+'\n'+
jTextArea5.setText("");
if(jRadioButton3.isSelected()==true)
jRadioButton3.setSelected(false);
if(jRadioButton4.isSelected()==true)
jRadioButton4.setSelected(false);
if(jRadioButton5.isSelected()==true)
jRadioButton5.setSelected(false);
if(jRadioButton6.isSelected()==true)
jRadioButton6.setSelected(false);
uniform.dispose();
studentlogin.setVisible(true);
Frame: feestructure
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
}
Frame: examinationschedule
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
feestructure.dispose();
studentlogin.setVisible(true); }
Frame: codeofconduct
codeofconduct.dispose();
studentlogin.setVisible(true); }
Frame: listofdates
try
String c,nm,nt,t;
while (rs.next()){
c=rs.getString("sno");
nm=rs.getString("holiday");
nt=rs.getString("date");
t=rs.getString("day");
Object rec[]={c,nm,nt,t};
tm.addRow(rec); }
rs.close(); }
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage()); }
}
private void jButton94ActionPerformed(java.awt.event.ActionEvent evt) {
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0); }
listofholidays.dispose();
studentlogin.setVisible(true);
Frame: academic
academic.dispose();
loginframe.setVisible(true); }
Frame: sport
Coding for sport
private void jButton21ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
sport.dispose();
loginframe.setVisible(true); }
Frame: exhibition
exhibition.dispose();
loginframe.setVisible(true); }
7. User Manual
Software Requirement-
Windows 2000/XP OS is desirable.
NetBeans Ver 5.1 or higher should be installed with JDK and JVM.
MySQL Ver 6.1 with Library Database must be present at machine.
Database Installation
The software project is distributed with a backup copy of a Database named School with required tables.
Some dummy records are present in the tables for testing purposes, which can be deleted before inserting
real data. The project is shipped with SCL.SQL file which installs a database and tables in the computer
system.
Note: The PC must have MySQL server with user (root) and password (raj) . If root password is any other
password, it can be changed by running MySQL Server Instance Configure Wizard.
Start Program MySQL MySQL Server MySQL Server Instance Config Wizard
Provide current password of root and new password as “kvuc” , this will change the root password.
To install a MySQL database from a dump file ( scl.sql) , simply follow the following steps.
Step 1: Copy the Lib.sql file in C:\Program files\Mysql\MySql server 5.1\Bin folder.
Step 2: Open MySQL and type the following command to create the dabase named Library.
mysql> create database School;
Step 3: Open Command Window (Start Run cmd)
Step 4: Go to the following folder using CD command of DOS.
C:\Program files\Mysql\MySql server 5.1\Bin>
Step 5: type the following command on above prompt -
C:….\bin> mysql -u root -pkvuc School < Scl.sql
This will create a Library databse with required tables.
8 . Bibliography