If You want This Project Entittled "JPS-School Management System"
Contact - Sarthak Khabiya
Email :-sarthakkhabiya@gmail.com
Contact Number - +91-8717912597
Detailed Project Report on Online Examination System in Dot net in very easy manner, once understood you can write the code in Java or any other language also
In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having separate functions for
• Getting the information
• Getting customer information who are lodged in
• Allocating a room to the customer
• Checking the availability
• Displaying the features of the rooms.
• Preparing a billing function for the customer according to his room no.
In the software developed separate functions will be there for each of the above points so that there is ample scope for adding more features in the near future.
Download From Here : https://drive.google.com/folderview?id=0B5y_t4zL91BZaWRkY1VPeElJNVE&usp=sharing
DFD For E-learning Project
Three modules admin,parents,student
DFD for each module
DFD For E-Learning Admin Teacher Create User Create User Create Course Messaging Student Parents Assign course Whole System Create Exam Grade Upload Result Video Stemming Upload course material Messaging Exam participate Watch & Update notice Getting study material Getting Result Video Stemming Messaging Participate in class View Result News update View grade Study materials Feedback Assign teacher,studt,prnt Giving Grade Grade & course lock
Detailed Project Report on Online Examination System in Dot net in very easy manner, once understood you can write the code in Java or any other language also
In this system we will make extensive use of files system in C++.
We will have a login id system initially. In this system we will be having separate functions for
• Getting the information
• Getting customer information who are lodged in
• Allocating a room to the customer
• Checking the availability
• Displaying the features of the rooms.
• Preparing a billing function for the customer according to his room no.
In the software developed separate functions will be there for each of the above points so that there is ample scope for adding more features in the near future.
Download From Here : https://drive.google.com/folderview?id=0B5y_t4zL91BZaWRkY1VPeElJNVE&usp=sharing
DFD For E-learning Project
Three modules admin,parents,student
DFD for each module
DFD For E-Learning Admin Teacher Create User Create User Create Course Messaging Student Parents Assign course Whole System Create Exam Grade Upload Result Video Stemming Upload course material Messaging Exam participate Watch & Update notice Getting study material Getting Result Video Stemming Messaging Participate in class View Result News update View grade Study materials Feedback Assign teacher,studt,prnt Giving Grade Grade & course lock
Software Requirements Specification on Student Information System (SRS on SIS)Minhas Kamal
Complete Software Requirements Specification (SRS) on a software project Student Information System (SIS). Chapters- Inception, Elicitation, Scenario-Based Model, Data Model, Class-Based Model, Flow-Oriented Model and Behavioral Model.
Created in 2nd year of Bachelor of Science in Software Engineering (BSSE) course at Institute of Information Technology, University of Dhaka (IIT, DU).
Our team worked together on a Result Management System Project. The Main agenda of our project was to consolidate the result of an individual and then display the result to selected individual with the help of HTML, CSS, Bootstrap, PHP, MySQLi.
Result Management System - CSE Final Year ProjectsJubair Hossain
Result management System
The main objective of the project is to provide the examination result to the student in a simple way. This project is useful for students and institutions for getting the results in simple manner.
Users / Actors Of System
Admin
Student
Admin Features(privileges )
He/she is a super user who enjoys all the privileges .
Add Update Display Delete Semesters .
Add Update Display Delete Subjects and their Full Marks.
Create/Approve/Disapprove teacher/student account.
View Results of each student and their Percentage.
Download Result Report as PDF format
Can send instruction/notification to every teacher.
Update Records
Student Features(Privileges )
He/she needs to create an account.
Can view their Semester Results for All Subjects from anywhere around the globe.
Generate/Download Report of Results and Percentage in PDF Format
Generate/Download Report of all Results in PDF Format
Update Profile
Upload Profile Pic
Update Password
This documentation have all the details about school management system, even in this document have DFD,ERD,FDD digram that are useful to create database. to get more details about this product plz mail me on (aki_string@yahoo.co.in) thanks.....
Software Requirements Specification on Student Information System (SRS on SIS)Minhas Kamal
Complete Software Requirements Specification (SRS) on a software project Student Information System (SIS). Chapters- Inception, Elicitation, Scenario-Based Model, Data Model, Class-Based Model, Flow-Oriented Model and Behavioral Model.
Created in 2nd year of Bachelor of Science in Software Engineering (BSSE) course at Institute of Information Technology, University of Dhaka (IIT, DU).
Our team worked together on a Result Management System Project. The Main agenda of our project was to consolidate the result of an individual and then display the result to selected individual with the help of HTML, CSS, Bootstrap, PHP, MySQLi.
Result Management System - CSE Final Year ProjectsJubair Hossain
Result management System
The main objective of the project is to provide the examination result to the student in a simple way. This project is useful for students and institutions for getting the results in simple manner.
Users / Actors Of System
Admin
Student
Admin Features(privileges )
He/she is a super user who enjoys all the privileges .
Add Update Display Delete Semesters .
Add Update Display Delete Subjects and their Full Marks.
Create/Approve/Disapprove teacher/student account.
View Results of each student and their Percentage.
Download Result Report as PDF format
Can send instruction/notification to every teacher.
Update Records
Student Features(Privileges )
He/she needs to create an account.
Can view their Semester Results for All Subjects from anywhere around the globe.
Generate/Download Report of Results and Percentage in PDF Format
Generate/Download Report of all Results in PDF Format
Update Profile
Upload Profile Pic
Update Password
This documentation have all the details about school management system, even in this document have DFD,ERD,FDD digram that are useful to create database. to get more details about this product plz mail me on (aki_string@yahoo.co.in) thanks.....
Vade Meccum_Book reading and publishing software NetBeans.docxGeetaShreeprabha
This is an Informatics Practices Project submitted for the AISSCE exam IP in 2017-18. By using JAVA and MySQL an application is created on NetBeans for book reading and publishing. The purpose of this project was to create a repository of books and a cloud storage account for written content which can be accessed at a later stage.
Online Exams System fulfils the requirements of the institutes to conduct the exams online. They do not have to go to any software developer to make a separate site for being able to conduct exams online. They just have to register on the site and enter the exam details and the lists of the students which can appear in the exam.
Ignou MCA 6th Semester Synopsis file. This is a proposal file for MCA 6th semester. The project name is Project Management System. It is real world working scenario use by IT companies.
Similar to Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination 2017-18 CBSE Class 12 Information Pratices(I.P) (20)
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
Experience our free, in-depth three-part Tendenci Platform Corporate Membership Management workshop series! In Session 1 on May 14th, 2024, we began with an Introduction and Setup, mastering the configuration of your Corporate Membership Module settings to establish membership types, applications, and more. Then, on May 16th, 2024, in Session 2, we focused on binding individual members to a Corporate Membership and Corporate Reps, teaching you how to add individual members and assign Corporate Representatives to manage dues, renewals, and associated members. Finally, on May 28th, 2024, in Session 3, we covered questions and concerns, addressing any queries or issues you may have.
For more Tendenci AMS events, check out www.tendenci.com/events
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Globus
The U.S. Geological Survey (USGS) has made substantial investments in meeting evolving scientific, technical, and policy driven demands on storing, managing, and delivering data. As these demands continue to grow in complexity and scale, the USGS must continue to explore innovative solutions to improve its management, curation, sharing, delivering, and preservation approaches for large-scale research data. Supporting these needs, the USGS has partnered with the University of Chicago-Globus to research and develop advanced repository components and workflows leveraging its current investment in Globus. The primary outcome of this partnership includes the development of a prototype enterprise repository, driven by USGS Data Release requirements, through exploration and implementation of the entire suite of the Globus platform offerings, including Globus Flow, Globus Auth, Globus Transfer, and Globus Search. This presentation will provide insights into this research partnership, introduce the unique requirements and challenges being addressed and provide relevant project progress.
First Steps with Globus Compute Multi-User EndpointsGlobus
In this presentation we will share our experiences around getting started with the Globus Compute multi-user endpoint. Working with the Pharmacology group at the University of Auckland, we have previously written an application using Globus Compute that can offload computationally expensive steps in the researcher's workflows, which they wish to manage from their familiar Windows environments, onto the NeSI (New Zealand eScience Infrastructure) cluster. Some of the challenges we have encountered were that each researcher had to set up and manage their own single-user globus compute endpoint and that the workloads had varying resource requirements (CPUs, memory and wall time) between different runs. We hope that the multi-user endpoint will help to address these challenges and share an update on our progress here.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Accelerate Enterprise Software Engineering with PlatformlessWSO2
Key takeaways:
Challenges of building platforms and the benefits of platformless.
Key principles of platformless, including API-first, cloud-native middleware, platform engineering, and developer experience.
How Choreo enables the platformless experience.
How key concepts like application architecture, domain-driven design, zero trust, and cell-based architecture are inherently a part of Choreo.
Demo of an end-to-end app built and deployed on Choreo.
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Globus
Large Language Models (LLMs) are currently the center of attention in the tech world, particularly for their potential to advance research. In this presentation, we'll explore a straightforward and effective method for quickly initiating inference runs on supercomputers using the vLLM tool with Globus Compute, specifically on the Polaris system at ALCF. We'll begin by briefly discussing the popularity and applications of LLMs in various fields. Following this, we will introduce the vLLM tool, and explain how it integrates with Globus Compute to efficiently manage LLM operations on Polaris. Attendees will learn the practical aspects of setting up and remotely triggering LLMs from local machines, focusing on ease of use and efficiency. This talk is ideal for researchers and practitioners looking to leverage the power of LLMs in their work, offering a clear guide to harnessing supercomputing resources for quick and effective LLM inference.
top nidhi software solution freedownloadvrstrong314
This presentation emphasizes the importance of data security and legal compliance for Nidhi companies in India. It highlights how online Nidhi software solutions, like Vector Nidhi Software, offer advanced features tailored to these needs. Key aspects include encryption, access controls, and audit trails to ensure data security. The software complies with regulatory guidelines from the MCA and RBI and adheres to Nidhi Rules, 2014. With customizable, user-friendly interfaces and real-time features, these Nidhi software solutions enhance efficiency, support growth, and provide exceptional member services. The presentation concludes with contact information for further inquiries.
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
Games are powerful teaching tools, fostering hands-on engagement and fun. But they require careful consideration to succeed. Join me to explore factors in running and selecting games, ensuring they serve as effective teaching tools. Learn to maintain focus on learning objectives while playing, and how to measure the ROI of gaming in education. Discover strategies for pitching gaming to leadership. This session offers insights, tips, and examples for coaches, team leads, and enterprise leaders seeking to teach from simple to complex concepts.
Java Project "JPS-School Management System" CBSE AISSCE Pratical Examination 2017-18 CBSE Class 12 Information Pratices(I.P)
1. 1 | P a g e
JAIN PUBLIC SCHOOL, BARNAGAR
2017-18
A Project Report
on
JPS - School Management System
For
AISSCE 2017-18 Examination
[As a part of the Informatics Practices Course (065)]
SUBMITTED BY
Sarthak Khabiya
[Roll No ]
Under the Guidance of:
Mr. Vijay Soni
PGT (Comp.Sc)
2. 2 | P a g e
JAIN PUBLIC SCHOOL
DEPARTMENT OF COMPUTER
CERTIFICATE
This is to certify that the Project entitled JPS-School
Managment System is a bonafide work done by Master
Sarthak Khabiya of class XII Session 2017-18 in partial
fulfillment of CBSE’s AISSCE Examination 2018 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 External Signature of Teacher/Guide
Name: Name: Vijay Soni
Code: Designation: PGT (Comp.Sc.)
3. 3 | P a g e
ACKNOWLEDGEMENT
undertook this Project work, as the part of my XII-Informatics
Practices course. I had tried to apply my best of knowledge and
experience, gained during the study and class work experience. However,
developing software system is generally a quite complex and time-
consuming process. It requires a systematic study, insight vision and
professional approach during the design and development. Moreover, the
developer always feels the need, the help and good wishes of the people
near you, who have considerable experience and idea.
I would like to extend my sincere thanks and gratitude to my teacher Mr.
Vijay Soni I am very much thankful to our Principal Mr. Satanand
Dubey for giving valuable time and moral support to develop this
software.
I would like to take the opportunity to extend my sincere thanks and
gratitude to my father Mr. Sanjay Khabiya, and my mother Mrs.
Rajkumari Khabiya for being a source of inspiration and providing time
and freedom to develop this software project.
I also feel indebted to my friends Miss. Khushi Tongya and Master.
Siddharth Choudhary for the valuable suggestions during the project
work.
Sarthak Khabiya
Class XII (Science)
I
4. 4 | P a g e
C O N T E N T S
1. Introduction---------------------------------------------------------------- 5
2. Theoretical Background ----------------------------------------------- 6
3. Objective & Scope of the Project ----------------------------------- 7
4. Problem Definition & Analysis--------------------------------------- 9
5. System Implementation-----------------------------------------------10
5.1 The Hardware used: -------------------------------------------------10
5.2 The Softwares used: -------------------------------------------------10
6. System Design & Development ---------------------------------- 111
6.1 Database Design:-----------------------------------------------------11
6.2 I/O Forms Design & Event Coding:-------------------------------11
7. User Manual---------------------------------------------------------------86
7.1 How to install: ---------------------------------------------------------86
7.2 Working with Software:----------------------------------------------86
8. References ---------------------------------------------------------------88
5. 5 | P a g e
1. Introduction
This software project is developed to automate the functionalities of a
School Management.The purpose of the software project is to develop the
Management Information System (MIS) to automate the record keeping of
School.
A MIS mainly consists of a computerized database, a collection of inter-
related tables for particular items, capable to produce different reports
relevant to the user. An application program is tied with the database for
easy access and interface to the database. Using Application program or
front-end, we can store, retrieve and manage all information in proper
way.
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 Management 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.
6. 6 | P a g e
2. Objective & Scope of the Project
he objective of the software project is to develop a computerized MIS to enchanced the
working of School. This software project is also aimed to enhance the keeping current
record of school, which will help managers to retrieve the up-to-date information at right
time in right shape.
Objective are as following:-
Keeping well upto date record of the school.
Remove the duplication of the records.
Enchanced the fast working of school.
Maintaining the Proper School Fee Record.
During the development of School Management System project, Java NetBeans IDE, a
powerful, open source event-driven form-based development environment is used for modular
design and future expandability of the system.
Despite of the best effort , the following limitations and functional boundaries are visible, which
limits the scope of this application software.
1. This software can store records and produce reports in pre-designed format in soft copy.
There is no facility yet to produce customized reports. Only specified reports are
covered.
2. Some application area like salary of staff and another expense etc. are not implemented
in the project. It facilitates school to record and update only transaction record.
3. Any part of the project can modify the easily without any much more effort...
4. This software does not require much training time of the users due to limited
functionality and simplicity
T
7. 7 | P a g e
3. Theoretical Background
3.1 What is Database?
Introduction and Concepts:
A database is a collection of information related to a particular subject or purpose, such as
tracking customer orders or maintaining a music collection. Using any RDBMS application
software like MS SQL Server, MySQL, Oracle, Sybase etc, we can manage all your information
from a single database file. Within the file, divide your data into separate storage containers
called tables. You may and retrieve the data using queries.
A table is a collection of data about a specific topic, such as scholar number or class. Using a
separate table for each topic means you can store that data only once, which makes your
database more efficient and reduces data-entry errors. Table organises data into columns (called
fields) and rows (called records).
Role of RDBMS Application Program:
Creating of a table, addition, deletion, modification of records.
Retrieving data collectively or selectively.
The data stored can be sorted or indexed at the user's discretion and direction.
Various reports can be produced from the system. These may be either standardized
report or that may be specifically generated according to specific user definition.
Mathematical functions can be performed and the data stored in the database can be
manipulated with these functions to perform the desired calculations.
To maintain data integrity and database use.
The RDBMS 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 RDBMS and
operating system before the physical database can be accessed. The RDBMS 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.
3.2 MySQL :-
The management of data in a database system is done by means of a general-purpose software
package called a Database Management System (DBMS). Some commercially available
RDBMS are MySQL Server, MS ACCESS, ORACLE.
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 ( logo) is “Sakila,”.
8. 8 | P a g e
MySQL is a database management system.
MySQL is based on SQL.
MySQL software is Open Source.
The MySQL Database Server is very fast, reliable, and easy to use.
MySQL Server works in client/server or embedded systems.
The Main Features of MySQL
Works on many different platforms.
Uses multi-layered server design with independent modules. .
Easy to Maintain the Record
9. 9 | P a g e
4. Problem Definition & Analysis
The hardest part of building a software system is deciding precisely what to build.
Activities related to problem are the following:
Identification and documentation of customer’s or user’s needs.
Analysis and validation of the requirements documents to ensure consistency,
completeness, and feasibility
Evolution of needs.
After the analysis of the functioning of a School Management, the proposed System is expected
to do the following: -
The proposed system should maintain all the records and transactions, and should
generate the required reports and information when required.
To provide efficient and secured Information storage, flow and retrieval system, ensuring
the integrity and validity of records.
To provide graphical and user-friendly interface to interact with a centralized database
based on client-server architecture.
To identify the critical operation procedure and possibilities of simplification using
modern IT tools and practices.
10. 10 | P a g e
5. System Implementation
5.1 The Hardware used:
While developing the system, the used hardware are:
PC with ADM 2.0 GHz processor having 4 GB RAM and other required devices.
5.2 The Softwares used:
Microsoft Windows7 as Operating System.
Java NetBeans 7 as Front-end Development environment.
MySQL as Back-end Sever with Database for Testing.
MS-Word 2007 for documentation.
11. 11 | P a g e
6. System Design & Development
6.1 Database Design:
An important aspect of system design is the design of data storage structure. To begin with a
logical model of data structure is developed first. A database is a container object which contains
tables, queries, reports and data validation policies enforcement rules or contraints etc. A logical
data often represented as a records are kept in different tables after reducing anomalies and
redundancies. The goodness of data base design lies in the table structure and its relationship.
This software project maintains a database named sarthak which contains the following tables.
6.2 Table Design:
The database of sarthak 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
Column Name Type Size
Scholar_Number (Primary Key) Char 20
First_Name Char 50
Last_Name Char 50
Father_Name Char 50
Class Char 50
Mobile_Number Varchar 20
Place Char 50
Aadhar_Number (Unique Key) Char 20
Section Char 10
Sex Char 20
Table: Student_image
Column Name Type Size
Scholar_Number (Primary Key) Integer 11
Image BLOB
Table: Staff
Column Name Type Size
Emp_No (Unique Key) Integer 4
Name Char 80
Designation Char 40
Mobile_Number Char 20
Address Char 150
Aadhar_Number Char 20
MFee Float(8,2) 4
12. 12 | P a g e
Table: Fees_paid
Column Name Type Size
rcp_no Integer 20
scholar_number Integer 20
Name Char 30
Class Char 30
installment Char 10
amount int 30
date Date
Table: feesstructure
Column Name Type Size
Class Char 20
Installment Char 10
Amt Char 30
Table: Login
Column Name Type Size
username varChar 15
password Char 15
13. 13 | P a g e
6.2 I/O Forms Design & Event Coding:
The software project for School Management contains various forms along with programming
codes. Forms (JFrames) and their event coding are given below.
Frame: Main.java
private void formWindowGainedFocus(java.awt.event.WindowEvent evt)
{
new LOGIN().setVisible(true);
}
14. 14 | P a g e
Frame: LOGIN.java
Coding for LOGIN.java:-
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.Statement;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import javax.swing.JOptionPane;
public class LOGIN extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
/**
* Creates new form LOGIN
*/
public LOGIN() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=(Connection) DriverManager.getConnection(db,"root","root");
stm=(Statement) con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
15. 15 | P a g e
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String user=jTextField1.getText();
String pass=new String(jPasswordField1.getPassword());
String ur=null, ps=null;
try
{
rs=stm.executeQuery("select * from login;");
while(rs.next())
{
ur=rs.getString("username");
ps=rs.getString("password");
}
if (user.equals(ur)&& pass.equals(ps))
{
new LOGIN_1().setVisible(true);
this.dispose();
}
else
{
JOptionPane.showMessageDialog(null,"Invalide User or Password");
}
}
catch (Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private javax.swing.JButton jButton1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JPanel jPanel1;
private javax.swing.JPasswordField jPasswordField1;
private javax.swing.JTextField jTextField1;
16. 16 | P a g e
Frame: LOGIN_1.java
Coding of LOGIN_1.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
17. 17 | P a g e
public class LOGIN_1 extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
public LOGIN_1() throws ClassNotFoundException {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
catch (SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new STUDENT().setVisible(true);
} catch (SQLException ex) {
Logger.getLogger(LOGIN_1.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new view_student_1().setVisible(true);
} catch (SQLException ex) {
Logger.getLogger(LOGIN_1.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new staff().setVisible(true);
18. 18 | P a g e
} catch (SQLException ex) {
Logger.getLogger(LOGIN_1.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
new view_staff().setVisible(true);
this.dispose();
}
private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {
new update_student().setVisible(true);
this.dispose();
}
private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {
new Update_Staff().setVisible(true);
this.dispose();
}
private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {
new insert_class().setVisible(true);
this.dispose();
}
private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {
new view_class().setVisible(true);
this.dispose();
}
private void jLabel2MousePressed(java.awt.event.MouseEvent evt) {
new LOGIN().setVisible(true);
this.dispose();
}
private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {
new fees().setVisible(true);
this.dispose();
}
private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {
new view_class().setVisible(true);
this.dispose();
19. 19 | P a g e
}
private void jButton11ActionPerformed(java.awt.event.ActionEvent evt) {
new student_del().setVisible(true);
this.dispose();
}
private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {
new JFrame().setVisible(true);
this.dispose();
}
private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {
new staff_del().setVisible(true);
this.dispose();
}
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(LOGIN_1.class.getName()).log(Level.SEVERE, null, ex);
}
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JButton jButton5;
private javax.swing.JButton jButton6;
private javax.swing.JButton jButton7;
private javax.swing.JButton jButton8;
private javax.swing.JButton jButton9;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private org.jdesktop.beansbinding.BindingGroup bindingGroup;
// End of variables declaration
}
20. 20 | P a g e
Frame: STUDENT.java
Coding for STUDENT.java :-
import java.awt.HeadlessException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
42. 42 | P a g e
Logger.getLogger(update_student.class.getName()).log(Level.SEVERE, null, ex);
}
}
private void formWindowGainedFocus(java.awt.event.WindowEvent evt) {
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
jTextField8.setText("");
jTextField9.setText("");
jTextField1.setText("");
jTextField10.setText("");
}
private void jTextField1KeyPressed(java.awt.event.KeyEvent evt) {
try {
String y;
y=jTextField1.getText();
rs=stm.executeQuery("select * from student where Scholar_Number='"+y+"';");
String b,i,z;
String c,d,e,f,g,h,p;
while (rs.next()){
b=rs.getString("First_Name");
c=rs.getString("Last_Name");
d=rs.getString("Father_Name");
i=rs.getString("Class");
z=rs.getString("Mobile_Number");
f=rs.getString("Place");
g=rs.getString("Aadhar_Number");
h=rs.getString("Section");
p=rs.getString("Sex");
jTextField2.setText(""+b);
jTextField3.setText(""+c);
jTextField4.setText(""+d);
jTextField5.setText(""+i);
jTextField6.setText(""+h);
jTextField7.setText(""+z);
43. 43 | P a g e
jTextField8.setText(""+f);
jTextField9.setText(""+g);
jTextField10.setText(""+p);
}
rs.close();
}
catch (Exception a)
{
JOptionPane.showMessageDialog(null,"Scholar Number Does Not Exist");
}
}
private void jTextField1KeyTyped(java.awt.event.KeyEvent evt) {
try {
String y;
y=jTextField1.getText();
rs=stm.executeQuery("select * from student where Scholar_Number='"+y+"';");
String b,i,z;
String c,d,e,f,g,h,p;
while (rs.next()){
b=rs.getString("First_Name");
c=rs.getString("Last_Name");
d=rs.getString("Father_Name");
i=rs.getString("Class");
z=rs.getString("Mobile_Number");
f=rs.getString("Place");
g=rs.getString("Aadhar_Number");
h=rs.getString("Section");
p=rs.getString("Sex");
jTextField2.setText(""+b);
jTextField3.setText(""+c);
jTextField4.setText(""+d);
jTextField5.setText(""+i);
jTextField6.setText(""+h);
jTextField7.setText(""+z);
jTextField8.setText(""+f);
jTextField9.setText(""+g);
jTextField10.setText(""+p);
}
44. 44 | P a g e
rs.close();
}
catch (Exception a)
{
JOptionPane.showMessageDialog(null,"Scholar Number Does Not Exist");
}
String t=jTextField1.getText();
if(t.equalsIgnoreCase(""))
{
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField7.setText("");
jTextField8.setText("");
jTextField9.setText("");
jTextField10.setText("");
}
}
private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {
try {
String y;
y=jTextField1.getText();
rs=stm.executeQuery("select * from student where Scholar_Number='"+y+"';");
String b,i,z;
String c,d,e,f,g,h,p;
while (rs.next()){
b=rs.getString("First_Name");
c=rs.getString("Last_Name");
d=rs.getString("Father_Name");
i=rs.getString("Class");
z=rs.getString("Mobile_Number");
f=rs.getString("Place");
g=rs.getString("Aadhar_Number");
h=rs.getString("Section");
p=rs.getString("Sex");
jTextField2.setText(""+b);
45. 45 | P a g e
jTextField3.setText(""+c);
jTextField4.setText(""+d);
jTextField5.setText(""+i);
jTextField6.setText(""+h);
jTextField7.setText(""+z);
jTextField8.setText(""+f);
jTextField9.setText(""+g);
jTextField10.setText(""+p);
}
rs.close();
}
catch (Exception a)
{
JOptionPane.showMessageDialog(null,"Scholar Number Does Not Exist");
}
}
// Variables declaration - do not modify
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
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.JTextField jTextField1;
private javax.swing.JTextField jTextField10;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
46. 46 | P a g e
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
private javax.swing.JTextField jTextField9;
// End of variables declaration
47. 47 | P a g e
Frame: staff.java
Coding for staff.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
public class staff extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
public staff() throws SQLException {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
48. 48 | P a g e
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String a,b,c,d,h,f;
a=jTextField1.getText();
b=jTextField2.getText();
c=jTextField3.getText();
d=jTextField4.getText();
h=jTextField5.getText();
f=jTextField6.getText();
try
{
stm.executeUpdate("insert into staff values('"+a+"','"+b+"','"+c+"',"+d+",'"+h+"','"+f+"');");
JOptionPane.showMessageDialog(null,"Entry Added Successfully");
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(staff.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void formWindowGainedFocus(java.awt.event.WindowEvent evt) {
try{
rs=stm.executeQuery("select emp_no from staff;");
int acno=0, ACNO = 0;
while (rs.next()) {
50. 50 | P a g e
Frame: view_staff.java
Coding for view_staff.Java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class view_staff extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
public view_staff() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
51. 51 | P a g e
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
new view_staff_1().setVisible(true);
this.dispose();
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(view_staff.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
// End of variables declaration
52. 52 | P a g e
Frame: view_staff_1.java
Coding for view_staff_1.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class view_staff_1 extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
public view_staff_1() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
53. 53 | P a g e
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
new view_staff().setVisible(true);
this.dispose();
}
private void formWindowGainedFocus(java.awt.event.WindowEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
try
{rs=stm.executeQuery("select * from staff;");
int a;
String b,c,d,e,f;
while (rs.next()){
a=rs.getInt("Emp_No");
b=rs.getString("Name");
c=rs.getString("designation");
d=rs.getString("Mobile_Number");
e=rs.getString("Address");
f=rs.getString("Aadhar_Number");
Object rec[]={a,b,c,d,e,f};
tm.addRow(rec);
}
rs.close();
}
catch (Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
54. 54 | P a g e
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
// End of variables declaration
55. 55 | P a g e
Frame: Update_staff.java
Coding for Update_Staff.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
public class Update_Staff extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
Statement stm1=null;
ResultSet rs= null;
ResultSet rt=null;
String db= "jdbc:mysql://localhost/sarthak";
public Update_Staff() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
56. 56 | P a g e
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jTextField1KeyTyped(java.awt.event.KeyEvent evt) {
try {
String y;
y=jTextField1.getText();
rs=stm.executeQuery("select * from staff where emp_no='"+y+"';");
String b,i,z;
String c,d,e,f,g,h,p;
while (rs.next()){
b=rs.getString("Name");
c=rs.getString("designation");
d=rs.getString("Mobile_Number");
i=rs.getString("Address");
h=rs.getString("Aadhar_Number");
jTextField2.setText(""+b);
jTextField3.setText(""+c);
jTextField4.setText(""+d);
jTextField5.setText(""+i);
jTextField6.setText(""+h);
}
rs.close();
}
catch (Exception a)
{
JOptionPane.showMessageDialog(null,"Employee Does Not Exist");
}
57. 57 | P a g e
}
private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {
try {
String y;
y=jTextField1.getText();
rs=stm.executeQuery("select * from staff where emp_no='"+y+"';");
String b,i,z;
String c,d,e,f,g,h,p;
while (rs.next()){
b=rs.getString("Name");
c=rs.getString("designation");
d=rs.getString("Mobile_Number");
i=rs.getString("Address");
h=rs.getString("Aadhar_Number");
jTextField2.setText(""+b);
jTextField3.setText(""+c);
jTextField4.setText(""+d);
jTextField5.setText(""+i);
jTextField6.setText(""+h);
}
rs.close();
}
catch (Exception a)
{
JOptionPane.showMessageDialog(null,"Scholar Number Does Not Exist");
}
String t=jTextField1.getText();
if(t.equalsIgnoreCase(""))
{
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
58. 58 | P a g e
jTextField6.setText("");
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String a=jTextField1.getText();
String b=jTextField2.getText();
String c=jTextField3.getText();
String d=jTextField4.getText();
String h=jTextField5.getText();
String f=jTextField6.getText();
try{
stm.executeUpdate("update staff set
Name='"+b+"',designation='"+c+"',Mobile_Number='"+d+"',Address='"+h+"' where
emp_no="+a+";");
JOptionPane.showMessageDialog(null,"Staff Profile Update Successfully");
} catch (SQLException ex) {
Logger.getLogger(update_student.class.getName()).log(Level.SEVERE, null, ex);
}
}
private void formWindowGainedFocus(java.awt.event.WindowEvent evt) {
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
jTextField6.setText("");
jTextField1.setText("");
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(Update_Staff.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
// Variables declaration - do not modify
59. 59 | P a g e
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
// End of variables declaration
60. 60 | P a g e
Frame: insert_class.java
Coding for insert_class.java
import java.awt.HeadlessException;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
public class insert_class extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
Statement stm1=null;
ResultSet rs= null;
ResultSet rt=null;
String db= "jdbc:mysql://localhost/sarthak";
public insert_class() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
61. 61 | P a g e
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
jTextField1.setText("");
jTextField2.setText("");
jTextField3.setText("");
jTextField4.setText("");
jTextField5.setText("");
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(insert_class.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void jTextField6KeyPressed(java.awt.event.KeyEvent evt) {
String c=jTextField1.getText();
String d=jTextField6.getText();
try{
rs=stm.executeQuery("select count(sex) from student where sex='m' AND class='"+c+"' and
section='"+d+"';");
while(rs.next()){
String b=rs.getString("count(sex)");
jTextField2.setText(""+b);
}
} catch (SQLException ex) {
Logger.getLogger(insert_class.class.getName()).log(Level.SEVERE, null, ex);
}
}
62. 62 | P a g e
private void jTextField6KeyReleased(java.awt.event.KeyEvent evt) {
String c=jTextField1.getText();
String d=jTextField6.getText();
try{
rs=stm.executeQuery("select count(sex) from student where sex='m' AND class='"+c+"' and
section='"+d+"';");
while(rs.next()){
String b=rs.getString("count(sex)");
jTextField2.setText(""+b);
}
} catch (SQLException ex) {
Logger.getLogger(insert_class.class.getName()).log(Level.SEVERE, null, ex);
}
try{
rs=stm.executeQuery("select count(sex) from student where sex='F' AND class='"+c+"' and
section='"+d+"';");
while(rs.next()){
String b=rs.getString("count(sex)");
jTextField3.setText(""+b);
}
} catch (SQLException ex) {
Logger.getLogger(insert_class.class.getName()).log(Level.SEVERE, null, ex);
}
int e,f,g;
e=Integer.parseInt(jTextField2.getText());
f=Integer.parseInt(jTextField3.getText());
g=e+f;
jTextField4.setText(""+g);
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
String a,c,d,e;
String b,f;
a=jTextField1.getText();
68. 68 | P a g e
private javax.swing.JLabel jLabel9;
private javax.swing.JSeparator jSeparator1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField10;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTextField jTextField5;
private javax.swing.JTextField jTextField6;
private javax.swing.JTextField jTextField7;
private javax.swing.JTextField jTextField8;
private javax.swing.JTextField jTextField9;
// End of variables declaration
}
69. 69 | P a g e
Frame: JFrame.java
Coding for JFrame.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
public class JFrame extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
Statement stm1=null;
ResultSet rs= null;
ResultSet rt=null;
String db= "jdbc:mysql://localhost/sarthak";
public JFrame() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
70. 70 | P a g e
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new paid_1().setVisible(true);
} catch (SQLException ex) {
Logger.getLogger(JFrame.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
new Fees_Paid().setVisible(true);
this.dispose();
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
new paid_search().setVisible(true);
this.dispose();
}
private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(JFrame.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
// End of variables declaration
71. 71 | P a g e
Frame: Fees_Paid.java
Coding for Fees_Paid.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class Fees_Paid extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
Statement stm1=null;
ResultSet rs= null;
ResultSet rt=null;
String db= "jdbc:mysql://localhost/sarthak";
public Fees_Paid() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
72. 72 | P a g e
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void formWindowGainedFocus(java.awt.event.WindowEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
try
{rs=stm.executeQuery("select * from fees_paid;");
int a;
String r,c,n,f,s,co,k,j;
while (rs.next()){
a=rs.getInt("rcp_no");
r=rs.getString("Scholar_number");
c=rs.getString("Name");
n=rs.getString("Class");
f=rs.getString("installment");
s=rs.getString("amonut");
co=rs.getString("Date");
Object rec[]={a,r,c,n,f,s,co};
tm.addRow(rec);
}
rs.close();
}
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage());
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
int x= tm.getRowCount();
73. 73 | P a g e
for(int i=0;i<x;i++)
tm.removeRow(0);
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
new JFrame().setVisible(true);
this.dispose();
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
// End of variables declaration
74. 74 | P a g e
Frame: paid_1.java
Coding for paid_1.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class paid_1 extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
Statement stm1=null;
ResultSet rs= null;
ResultSet rt=null;
String db= "jdbc:mysql://localhost/sarthak";
public paid_1() throws SQLException {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
75. 75 | P a g e
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
new JFrame().setVisible(true);
this.dispose();
}
private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
String l=jTextField1.getText();
try
{rs=stm.executeQuery("select * from fees_paid where name='"+l+"';");
int a;
String r,c,n,f,s,co,k,j;
while (rs.next()){
a=rs.getInt("rcp_no");
r=rs.getString("Scholar_number");
c=rs.getString("Name");
n=rs.getString("Class");
f=rs.getString("installment");
s=rs.getString("amonut");
co=rs.getString("Date");
Object rec[]={a,r,c,n,f,s,co};
tm.addRow(rec);
}
76. 76 | P a g e
rs.close();
}
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage());
}
String t=jTextField1.getText();
if(t.equalsIgnoreCase(""))
{
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
}
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
private javax.swing.JTextField jTextField1;
// End of variables declaration
77. 77 | P a g e
Frame: paid_search.java
Coding for paid_search.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class paid_search extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
Statement stm1=null;
ResultSet rs= null;
ResultSet rt=null;
String db= "jdbc:mysql://localhost/sarthak";
public paid_search() {
initComponents();
try{
78. 78 | P a g e
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
new JFrame().setVisible(true);
this.dispose();
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
String l=jTextField1.getText();
try
{rs=stm.executeQuery("select * from fees_paid where class='"+l+"';");
int a;
String r,c,n,f,s,co,k,j;
while (rs.next()){
a=rs.getInt("rcp_no");
r=rs.getString("Scholar_number");
c=rs.getString("Name");
n=rs.getString("Class");
f=rs.getString("installment");
s=rs.getString("amonut");
co=rs.getString("Date");
Object rec[]={a,r,c,n,f,s,co};
tm.addRow(rec);
}
rs.close();
}
catch (Exception e)
79. 79 | P a g e
{ JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
private javax.swing.JTextField jTextField1;
// End of variables declaration
80. 80 | P a g e
Frame: view_class.java
Coding for view_class.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class view_class extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
public view_class() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=DriverManager.getConnection(db,"root","root");
81. 81 | P a g e
stm=con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(view_class.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
int x= tm.getRowCount();
for(int i=0;i<x;i++)
tm.removeRow(0);
}
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {
DefaultTableModel tm= (DefaultTableModel) jTable1.getModel();
try
{rs=stm.executeQuery("select * from class order by class;");
int a,c,n,f;
String r,s;
while (rs.next()){
a=rs.getInt("Class");
r=rs.getString("Section");
c=rs.getInt("Boys");
n=rs.getInt("Girls");
f=rs.getInt("Total");
s=rs.getString("Class_Teacher");
82. 82 | P a g e
Object rec[]={a,r,c,n,f,s};
tm.addRow(rec);
}
rs.close();
}
catch (Exception e)
{ JOptionPane.showMessageDialog(null,e.getMessage());
}
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTable jTable1;
// End of variables declaration
83. 83 | P a g e
Frame: staff_del.java
Coding for staff_del.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
public class staff_del extends javax.swing.JFrame {
Connection con= null;
Statement stm=null;
ResultSet rs= null;
String db= "jdbc:mysql://localhost/sarthak";
public staff_del() {
initComponents();
try{
Class.forName("com.mysql.jdbc.Driver");
con=(com.mysql.jdbc.Connection) DriverManager.getConnection(db,"root","root");
stm=(com.mysql.jdbc.Statement) con.createStatement();}
catch (ClassNotFoundException | SQLException e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
84. 84 | P a g e
String a=jTextField1.getText();
String r=null;
try
{
rs=stm.executeQuery("select emp_no from staff;");
while(rs.next())
{
r=rs.getString("emp_no");
}
if(a.equals(r))
{
stm.executeUpdate("delete from STAFF where emp_no="+a+";");
JOptionPane.showMessageDialog(null,"Entry Deleted Successfully");
}
else
{
JOptionPane.showMessageDialog(null,"Not Entry Found By This Employ Number");
}
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null,e.getMessage());
}
}
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
try {
new LOGIN_1().setVisible(true);
} catch (ClassNotFoundException ex) {
Logger.getLogger(staff_del.class.getName()).log(Level.SEVERE, null, ex);
}
this.dispose();
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
85. 85 | P a g e
private javax.swing.JLabel jLabel1;
private javax.swing.JTextField jTextField1;
// End of variables declaration
86. 86 | P a g e
7. User Manual
7.1 How to installSoftware:
Hardware Requirement-
PC with Updated OS and Processors
1 GB RAM and 250 GB HDD space( for Database) is desirable
Standard I/O devices like Keyboard and Mouse etc.
Printer is needed for hard-copy reports.
Local Area Network(LAN) is required for Client-Server Installation
Software Requirement-
Windows XP/7/8 OS is desirable
Netbeans ver 8.1 or higher should be installed with JDK and JVM
MySQL Ver 5.1
Database Installation-
The software project is distributed with a backup copy of a Database named sarthak 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 sarthak.SQL file which installs a
database and tables in the computer system.
Note: The PC must have MySQL server with user (root) and password (root) . 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 “root” , this will change the root
password.
To install a MySQL database from a dump file ( sarthak.sql) , simply follow the following
steps.
Step 1: Copy the sarthak.sql file in C:Program filesMysqlMySql server 5.1Bin folder.
Step 2: Open MySQL and type the following command to create the dabase named Library.
mysql> create database sarthak;
Step 3: Open Command Window (Start Run cmd)
Step 4: Go to the following folder using CD command of DOS.
C:Program filesMysqlMySql server 5.1Bin>
87. 87 | P a g e
Step 5: type the following command on above prompt -
C:….bin> mysql -u root -proot sarthak < sarthak.sql
This will create a Library databse with required tables.
88. 88 | P a g e
8. References
In order to work on this project titled –School Management, the following books and literature
are refered by me during the various phases of development of the project.
1. Information Pratices
by Sumitra Arora
2. Arihant Publication
3. NCERT & KVS Notes
4. www.w3schools.com
5. www.google.co.in
6. cbse.nic.in
7. www.mycbseguide.com