0% found this document useful (0 votes)
5 views38 pages

Java Project Report2..

The document outlines a micro project report for 'PayTrack - Employee Payroll Management System' developed by students under the guidance of Ms. Nisha Aniyan at Providence College of Engineering. The project aims to automate payroll management for small to mid-sized businesses using Java, ensuring accurate salary processing and data storage through a user-friendly interface. It highlights the system's features, objectives, and technical requirements, demonstrating the practical application of object-oriented programming principles.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views38 pages

Java Project Report2..

The document outlines a micro project report for 'PayTrack - Employee Payroll Management System' developed by students under the guidance of Ms. Nisha Aniyan at Providence College of Engineering. The project aims to automate payroll management for small to mid-sized businesses using Java, ensuring accurate salary processing and data storage through a user-friendly interface. It highlights the system's features, objectives, and technical requirements, demonstrating the practical application of object-oriented programming principles.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

PAYTRACK- EMPLOYEE PAYROLL MANAGEMENT SYSTEM

MICRO PROJECT REPORT


SUBMITTED BY

ADITHYAN U S - PRC24CSOT003
AISHWARYA THANKAM JOSEPH - PRC24CSOT005
VYSHNAV A NAIR - PRC24CSOT027

Guided by

MS. NISHA ANIYAN

To

APJ Abdul Kalam Technological University


in partial fulfillment of the requirements for the course
PBCST304 OBJECT ORIENTED PROGRAMMING
in
Department of Computer Science and Engineering (Internet of Things and Cyber Security
including Block Chain Technology)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


(INTERNET OF THINGS AND CYBER SECURITY INCLUDING BLOCK CHAIN
TECHNOLOGY)
PROVIDENCE COLLEGE OF ENGINEERING, CHENGANNUR
OCTOBER 2025
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
(INTERNET OF THINGS AND CYBER SECURITY INCLUDING
BLOCK
CHAIN TECHNOLOGY)
PROVIDENCE COLLEGE OF ENGINEERING, CHENGANNUR

CERTIFICATE
Certified that the report entitled ‘PAYTRACK - EMPLOYEE PAYROLL
MANAGEMENT SYSTEM’ is the report of the microproject completed under our
guidance by the following students of Third Semester, [Link] Degree in Computer Science
& Engineering (Internet of Things and Cyber Security including Block Chain Technology)
during the academic year 2025–2026 in partial fulfillment of the requirements for the
course PBCST304 – OBJECT ORIENTED PROGRAMMING, prescribed by APJ
Abdul Kalam Technological University, Kerala.

ADITHYAN U S - PRC24CSOT003
AISHWARYA THANKAM JOSEPH - PRC24CSOT005
VYSHNAV A NAIR -
PRC24CSOT027

MS. NISHA ANIYAN MS. SALITHA M K


Assistant Professor Head of the Department
Dept. of CSE Dept. of CSOT
Providence College of Engineering Providence College of Engineering
Chengannur Chengannur

ii
DECLARATION
We, hereby declare that, this microproject report entitled ‘PAYTRACK - EMPLOYEE
PAYROLL MANAGEMENT SYSTEM’ submitted for the partial fulfilment of the
requirements for the course PBCST304 – Object Oriented Programming, prescribed by
APJ Abdul Kalam Technological University, Kerala, is the bonafide work of ours carried
out under the supervision of Ms. Nisha Aniyan, Assistant Professor, Department of
Computer Science and Engineering. We declare that, to the best of our knowledge, the
work reported herein does not form part of any other project report or dissertation on the
basis of which a degree or award was conferred on an earlier occasion to any other
candidate. The content of this report is not being presented by any other student to this or
any other University for the award of a degree.

Sl. Name of Student Register Signature


No. Number
1 ADITHYAN U S PRC24CSOT003

2 AISHWARYA THANKAM JOSEPH PRC24CSOT005

3 VYSHNAV A NAIR PRC24CSOT027

MS. NISHA ANIYAN MS. SALITHA M K


Assistant Professor Head of the Department
Dept. of CSE Dept. of CSOT
Providence College of Engineering Providence College of Engineering
Chengannur Chengannur

Date: 30/10/2025

iii
PBCST304 OBJECT ORIENTED PROGRAMMING

COURSE OUTCOMES (COs)

iv
ABSTRACT

In modern organizations, managing employee payroll accurately and efficiently is crucial


for financial accountability and employee satisfaction. PayTrack is a Java-based
microproject designed to automate the salary processing system in a structured and user-
friendly manner, specifically catering to the administrative needs of small to mid-sized
[Link] system accepts a considerable amount of information from the user,
including employee ID, name, department, designation, basic salary and gross and net
salary rates. These data points form the core of the system's input and are essential for
processing payroll [Link] ensure permanent storage of data, the project utilizes
plain database management system using SQL
.All employee records are stored and retrieved from a table in SQL, ensuring that the data
remains intact between sessions. This makes the system both scalable and data-resilient,
suitable for continuous use in real-world scenarios.

The heart of PayTrack lies in its data processing capabilities, which include:

 Gross Salary Calculation based on basic salary and net salary


 Net Salary Calculation after applying appropriate tax deductions.
 Generation of Salary Slips for each employee with a clear breakdown of all components.

The system features a menu-driven interface, making it easy to use even for non-technical
users. It is built following Object-Oriented Programming (OOP) principles like modularity,
and separation of concerns, ensuring the code is maintainable, reusable, and [Link]
project not only demonstrates the practical use of core Java concepts, but also simulates a
real-world payroll environment. It serves as an ideal foundational project for us to
specialize in software development, HR systems, or enterprise resource planning (ERP)
[Link] conclusion, PayTrack stands as a complete, efficient, and reliable payroll
management solution, bridging the gap between theoretical programming knowledge and
real-world application development.

v
TABLE OF CONTENTS

ABSTRACT...............................................................................................................v

LIST OF FIGURES..................................................................................................ix

LIST OF TABLES...................................................................................................x

LIST OF ABBREVIATIONS.................................................................................xi

CHAPTER 1.............................................................................................................1

INTRODUCTION....................................................................................................1

1.1 Background......................................................................................................1

1.2 Relevance.........................................................................................................1

CHAPTER 2.............................................................................................................3

AIMS AND OBJECTIVES.....................................................................................3

2.1 Problem Statement and Objectives..................................................................3

2.2 Scope................................................................................................................3

CHAPTER 3.............................................................................................................5

SYSTEM ANALYSIS.............................................................................................5

3.1 Expected System Requirements......................................................................5

3.2 Feasibility Analysis.........................................................................................7

3.3 Software Requirements...................................................................................7

3.4 Hardware Requirements..................................................................................7

3.5 Technical Feasibility........................................................................................8

3.6 Operational Feasibility.....................................................................................8

3.7 Economic Feasibility........................................................................................8

CHAPTER 4.............................................................................................................10

vi
SYSTEM DESIGN...................................................................................................10

4.1 Data Flow Diagram..........................................................................................10

4.2 UML Diagram..................................................................................................10

CHAPTER 5.............................................................................................................12

DATABASE DESIGN..............................................................................................12

5.1 Database Structure...........................................................................................12

5.2 Table Details....................................................................................................13

CHAPTER 6............................................................................................................14

SYSTEM IMPLEMENTATION...........................................................................14

6.1 Technologies/Methodologies Used..................................................................14

6.1.1 Programmming Language Used...................................................................14

6.1.2 Methodologies Used.....................................................................................14

6.1.3 Database Connectivity..................................................................................14

6.2 Modules............................................................................................................15

6.2.1 Store Employee Details.................................................................................15

6.2.2 Salary Calculation..........................................................................................15

6.2.3 Salary Slip Generation....................................................................................15

6.2.4 Reports............................................................................................................15

6.2.5 Deletion of Employee Records.......................................................................15

CHAPTER 7...............................................................................................................16

RESULTS...................................................................................................................16

CHAPTER 8...............................................................................................................19

CODE LISTING........................................................................................................19

vii
CHAPTER 9..............................................................................................................26

CONCLUSION.........................................................................................................26

REFERENCES.........................................................................................................27

viii
LIST OF FIGURES
Figure number Figure Name Page Number
Figure 1.1 PAYTRACK 1
Figure 4.1 Data Flow Diagram 10
Figure 4.2 PayTrack UML Design 11
Figure 7.1 Add Employee Details module 16
Figure 7.2 Salary module 16
Figure 7.3 PaySlip module 17
Figure 7.4 Viewing Employee records module 17
Figure 7.5 Deleting Employee records module 18

ix
LIST OF TABLES
Table Number Table Name Page Number
Table 5.1 Database Structure 12

Table 5.2 Table Details 13

x
LIST OF ABBREVIATIONS
Abbreviation Expansion
EPS EMPLOYEE PAY SLIP
OOP OBJECT ORIENTED PROGRAMMING
DBMS DATABASE MANAGEMENT SYSTEM
SQL STRUCTURED QUERY LANGUAGE
IDE INTEGRATED DEVELOPMENT ENVIRONMENT
JDK JAVA DEVELOPMENT KIT

JRE JAVA RUNTIME ENVIRONMENT


JVM JAVA VIRTUAL MACHINE
API APPLICATION PROGRAMMING INTERFACE
UI USER INTERFACE
I/O INPUT/OUTPUT

xi
CHAPTER 1
INTRODUCTION

1.1 Background

Payroll management is a core function within any organization, ensuring employees are compensated
accurately and on time. Traditional payroll systems often rely on manual calculations and paper-based
record keeping, which can lead to errors, delays, loss of data, and lack of financial transparency. As
businesses expand, managing employee details, salary structures, allowances, deductions, and monthly
payments becomes increasingly complex. To overcome these challenges, many organizations are
shifting toward automated payroll solutions that minimize human errors, enhance data reliability, and
improve administrative efficiency. Automation not only speeds up salary processing but also ensures
secure data storage, easy retrieval, and consistent calculations across pay cycles. With the widespread
use of programming technologies, even small and medium-sized businesses can adopt simple yet
effective payroll systems tailored to their needs. PayTrack was developed as an effort to address these
issues by providing a streamlined, user-friendly, and efficient payroll automation platform.

1.2 Relevance

Figure 1.1: PayTrack

A payroll management system is essential for any organization because it directly impacts employee
satisfaction, financial accuracy, and administrative efficiency. PayTrack is highly relevant in today’s
work environment, especially for small to mid-sized businesses that require a simple, cost-effective,
and reliable solution for handling payroll operations. The project is also relevant from a technical
perspective, as it provides hands-on experience in Java programming concepts such as file handling,
object-oriented

1
programming (OOP), data validation, and modular design. It helps students understand how real-world
business problems can be solved through software automation, making it a valuable academic and
practical learning tool. Overall, PayTrack contributes to better financial management, enhances
operational efficiency, and demonstrates the importance of software-based solutions in modern
business administration.

2
CHAPTER 2
AIM AND OBJECTIVES

2.1 Problem Statement and

Objectives PROBLEM

STATEMENT

Existing payroll solutions often lack efficiency and still involve multiple manual steps, which can lead
to calculation errors, data mismanagement, and delays in salary processing. Managing employee
details, computing salaries, generating pay slips, and maintaining records manually is time-consuming
and prone to mistakes.

There is a need for a simple, automated, and reliable Java-based payroll system that minimizes user
errors, improves accuracy, and ensures smooth handling of employee payroll records.

OBJECTIVE

i. To develop a simple Java-based payroll system that automates employee record management, salary
computation, and deletion of employee records.
ii. To implement a database storage system (depending on project need) for secure and reliable storage
and retrieval of payroll and pay slip records.
iii. To ensure accuracy and efficiency in salary processing, providing clear and well-structured pay slips.
iv. To apply modular and object-oriented programming principles to improve code maintainability,
scalability, and reduce user errors during payroll operations.

2.2 Scope

The scope of PayTrack includes the design and implementation of a basic yet efficient payroll
management system suitable for small and medium-sized organizations. The system encompasses:

In-Scope Features

 Employee data management (ID, name, designation, department, salary details).


 Automated calculation of gross salary, deductions, and net salary.
 Database storage for saving and retrieving employee records.
 Generation of payroll summaries and structured salary reports.
 A simple user interface through console-based or menu-driven Java program.

3
The project mainly focuses on demonstrating payroll automation using Java for academic and small-
scale business purposes.

4
CHAPTER 3
SYSTEM ANALYSIS

System analysis for the PayTrack Employee Payroll Management System involves studying the
existing manual payroll process and identifying its limitations, such as frequent calculation errors,
difficulty in managing employee records, and time-consuming salary processing. The analysis focuses
on understanding user requirements, including efficient employee data handling, automated salary
computation, secure storage, and easy retrieval of pay slip information. The system analysis also
defines functional components, workflow structure, and data interactions to ensure that PayTrack
provides a reliable, user-friendly, and maintainable payroll management platform.

3.1 Expected System Requirements

The proposed system is designed to replace manual tasks with an automated Java-based solution that

enhances accuracy, reduces redundancy, and ensures smooth payroll operations.

REQ 1: Employee Data Input and Storage

Description: The system should allow entering employee details and store them securely for further
processing.

Input : Employee ID, Name, Department, Designation, and Basic Salary.


Output: Saved employee record in the system storage.

REQ 2: Salary Computation (Gross & Net Salary)

Description: The system should calculate gross salary, deductions, and net salary based on the
provided employee details.
Input: Basic salary, allowances, deductions.
Output: Computed gross salary and net salary values.

REQ 3: Pay Slip Generation

Description: The system should generate a structured pay slip containing salary details for an
employee.
Input: Employee record and computed salary components.
Output: Formatted pay slip.

5
REQ 4: Display Employee Payroll Information

Description: The system should display an employee’s salary details and stored payroll information on
request.
Input: Employee ID.
Output: Retrieved employee details and salary summary.

REQ 5: Delete Employee Records

Description: The system should allow deletion of employee details from the storage.
Input:Employee ID.
Output: Confirmation of deletion and updated employee record list.

The proposed PayTrack System is expected to meet the following non-functional requirements.

NFR 1: Availability

Description: The system should be available for the user 24×7 without failure, ensuring continuous
access for employees.

NFR 2: Reliability

Description: The system should consistently perform salary calculations and data operations without
errors to ensure dependable payroll processing.

NFR 3: Usability

Description: The system should provide a simple and user-friendly interface so that users can easily
navigate and operate payroll functions without technical difficulty.

6
NFR 4: Performance

Description: The system should process employee data, calculate salaries, and generate pay slips
within a few seconds to ensure fast response time.

NFR 5: Security

Description: The system should protect employee payroll records from unauthorized access and ensure
that data is stored safely.

NFR 6: Maintainability

Description: The system should be developed using modular and object-oriented principles, allowing
easy updates, debugging, and future enhancements.

NFR 8: Data Integrity

Description: The system should ensure the accuracy and consistency of employee and salary data
during storage, modification, and processing.

3.2 Feasibility Analysis

Feasibility analysis helps determine whether the PayTrack payroll management system is practical,
achievable, and beneficial for implementation. It examines technical, operational, and economic
factors to ensure that the system can be successfully developed and deployed.

3.3 Software Requirements

 Operating System: Windows

 Programming Language: Java (JDK 8 or above)

 IDE : NetBeans

 Storage System: MySQL

7
3.4 Hardware Requirements

 Processor: Minimum dual-core processor (Intel i3 or equivalent)

 RAM: Minimum 4 GB (8 GB recommended for smoother development)

 Storage: 500 MB free disk space for program files and payroll records

 Input Devices: Keyboard and mouse

 Output Devices: Monitor and printer (optional, for printing pay slips)

3.5 Technical Feasibility

Technical feasibility evaluates whether the system can be developed with the available technology, skills
and tools.
PayTrack is technically feasible because:

 It uses Java, a widely-used, platform-independent language.

 Requires only basic hardware resources to run efficiently.

 No advanced frameworks, cloud services, or expensive tools are required.

 Developers with basic Java knowledge (OOP) can implement and maintain the system.

Conclusion: The required technology is readily available, and the system can be developed with existing
technical skills and resources.

3.6 Operational Feasibility

Operational feasibility checks whether the end users can easily adopt and use the system.
PayTrack is operationally feasible because:

 It provides a simple, menu-driven, user-friendly interface.

 Users do not need technical expertise to operate the system.

 Automates manual calculations, reducing workload and preventing human errors.

 Produces accurate pay slips and organized records, improving payroll operations.

Conclusion: The system can be smoothly integrated into daily payroll activities with minimal effort and
training.

8
3.7 Economic Feasibility

Economic feasibility determines whether the system is cost-effective and worth implementing.
PayTrack is economically feasible because:

 It uses free and open-source tools (Java, IDEs).

 Doesn’t require paid software or expensive hardware.

 Reduces costs related to manual payroll processing, calculation errors, and paper-based record keeping.

 Saves time for employees and HR staff, increasing overall efficiency.

 Suitable for small and medium businesses with limited budgets.

Conclusion: Development and maintenance costs are low, and the system offers significant long-term
savings.

9
CHAPTER 4
SYSTEM DESIGN
4.1 Data Flow Diagram
The Data Flow Diagram of PayTrack shows how employee information enters the system, gets
processed for salary calculation, and produces outputs like pay slips and updated records. It clearly
maps the flow of data between the user, payroll processes, and the data storage, helping to understand
how information

moves within the system.

4.1 Data Flow Diagram

4.2 UML Design


The UML design of PayTrack outlines the system structure and behavior using diagrams such as Use
Case, Class, and Sequence diagrams. It shows how users interact with the system, how components are

10
organized, and how processes like salary computation and pay slip generation take place. This helps
provide a clear blueprint for system development.

4.2 PayTrack UML Design

11
CHAPTER 5
DATABASE
DESIGN

Database Testing: A database is a repository of data of various types. As a result of this, many types of
integration and implementation errors may occur in large database systems, which influence the
system operation negatively. It is therefore of pivotal importance to test the database in order to
achieve a database that satisfies the ACID (atomicity, consistency, Isolation, durability) properties of a
database management system.
Below are some of the screenshots of some tables in the database of the proposed system.
5.1 Database Structure

Table 5.1: Database Structure

This figure shows the employee_payroll table structure used in your PayTrack (Payroll Management
System) project. The table is designed to store complete employee and salary-related information in a
structured manner. Each employee is uniquely identified by EmployeeID, while EmployeeName,
Designation, and Department store the employee’s basic details. Salary computation is handled using
fields such as Basic Salary, Additional Amount (for allowances or bonuses), and Deduction (for taxes
or other cuts). Based on these values, Gross Salary and Net Salary are stored, enabling PayTrack to
efficiently calculate and manage payroll records. All fields are set as NOT NULL with default values
where applicable, ensuring data consistency and reliable payroll processing within the system.

12
5.2 Table Details

Table 5.2: Table Details

This figure shows the sample payroll records displayed from the employee_payroll table of the
PayTrack project after data insertion and salary computation. Each row represents an individual
employee with their unique EmployeeID, EmployeeName, Designation, and Department. The Basic
Salary column stores the fixed base pay, while Additional Amount represents allowances or incentives,
and Deduction indicates salary cuts such as tax or other deductions. Based on these values, the system
automatically calculates the Gross Salary (Basic Salary + Additional Amount) and the Net Salary
(Gross Salary − Deduction). This output confirms that PayTrack correctly processes employee salary
details and displays accurate payroll information in a structured and user-friendly manner, validating
the system’s salary computation and data retrieval functionality.

13
CHAPTER 6
SYSTEM IMPLEMENTATION

6.1 Technologies/Methodologies Used


6.1.1 Programming Language Used

The PayTrack Employee Management System is developed using Java as the primary programming
language. Java is chosen due to its platform independence, object-oriented features, robustness, and
strong support for database-driven applications. The use of Java enables efficient handling of
employee records, salary calculations, and user interactions through a structured and modular
approach.

6.1.2 Methodologies Used

The system utilizes MySQL as the backend database for storing employee and payroll-related
information. phpMyAdmin is used as a database administration tool to design, manage, and visualize
the database tables efficiently. For application development, NetBeans IDE is used, which provides a
user- friendly environment for writing, compiling, and debugging Java
programs. The project follows a modular development approach, where functionalities such as
employee data management, salary computation, and report generation are implemented as
independent modules, improving maintainability and scalability. A procedural flow with object-
oriented concepts is adopted to ensure clarity and reusability of code.

6.1.3 Database Connectivity

Database connectivity in the PayTrack system is achieved using JDBC (Java Database Connectivity).
JDBC acts as a bridge between the Java application and the MySQL database, enabling seamless
execution of SQL queries. Through JDBC, the system performs operations such as inserting new
employee records, updating salary details, retrieving payroll information, and deleting outdated
records. This connectivity ensures secure, reliable, and efficient interaction between the application
and the database, thereby supporting accurate payroll processing and employee management.

14
6.2 Modules
6.2.1 Store Employee Details

This module is responsible for maintaining essential employee information in the system. It stores
details such as Employee ID, Employee Name, Designation, Department, and Basic Salary in the
database. These records form the foundation of the PayTrack system and are used for salary
processing, reporting, and record management. The module ensures structured and accurate storage of
employee data.

6.2.2 Salary Calculation

The Salary Calculation module automatically computes the employee’s Gross Salary and Net Salary
based on predefined formulas. Gross Salary is calculated by adding the Basic Salary and Additional
Amount, while Net Salary is obtained by deducting the Deduction amount from the Gross Salary. This
automation reduces manual errors and ensures consistent and accurate salary computation.

6.2.3 Salary Slip Generation

This module generates individual salary slips for employees. The salary slip includes employee details
along with salary components such as Basic Salary, Additional Amount, Deduction, Gross Salary, and
Net Salary. It helps employees understand their salary structure clearly and provides official salary
documentation.

6.2.4 Reports

The Reports module generates organized salary reports, such as department-wise or employee-wise
salary details. These reports help management analyze payroll expenses, track departmental salary
distribution, and support administrative decision-making. The reports can be viewed or exported for
record-keeping purposes.

6.2.5 Deletion of Employee Record

This module allows authorized users to remove employee records from the system when an employee
resigns or is no longer associated with the organization. The deletion operation ensures that outdated or
irrelevant records do not remain in the database, maintaining data accuracy and integrity. Proper
validation is applied to prevent accidental deletion.

15
CHAPTER 7
RESULTS
This involves testing the various modules of the system individually, integrating the various
components into one, and testing as a whole. Some of them are:
i. Adding Employee Details Module: Figure 7.1: The Add Employee Details module allows the user to
enter and store essential employee information into the system. It provides input fields for Employee
ID, Employee Name, Department, Designation, and Basic Salary. When the user clicks the ADD
button, the entered details are validated and successfully saved to the database, ensuring accurate
record management. A confirmation message is displayed after successful insertion, improving user
feedback and reliability of the system.

Fig 7.1: Add Employee Details module


ii. Salary Module: Figure 7.2: The Salary Calculation module computes the employee’s final salary
based on the entered values. The basic salary is taken as the primary component, to which any
additional amount (such as allowances or bonuses) is added. From this total, the specified deduction is
subtracted to obtain the net salary. Once the calculation is completed successfully, the system displays
a confirmation message and allows the user to generate the pay slip.

Fig 7.2: Salary module

16
iii. PaySlip Module: Figure 7.3 The Pay Slip module displays the complete salary details of an employee
in a structured format. It shows employee information such as Employee ID, Name, Department, and
Designation along with salary components. The gross salary is calculated by adding the basic salary
and additional amount, while the net salary is obtained by subtracting the deductions from the gross
salary. This module ensures transparency in salary computation and allows the user to generate an
accurate pay slip for record and reference purposes.

Figure 7.3 PaySlip module

iv. Viewing Employee Records Module: Figure 7.4: This module allows authorized users to view the
details of employees stored in the system. It displays information such as employee ID, name,
designation, department, salary, and contact details in a structured and user-friendly format. The
module helps administrators easily search, review, and verify employee information, ensuring quick
access to accurate records for management and payroll processing.

Figure 7.4:Viewing Employee records

17
v. Deleting Employee Records Module: Figure 7.5: This module enables the administrator to remove
employee records from the system when they are no longer required. By selecting the employee using
a unique employee ID, the system safely deletes the corresponding details from the database. This
helps maintain accurate and up-to-date records, prevents data redundancy, and ensures efficient
management of employee information.

Figure 7.5:Deleting Employee Records module

18
CHAPTER 8
CODE LISTING
import [Link];

import [Link];
import [Link];
import [Link];

public class EmployeeForm extends [Link] {

private static final [Link] logger =


[Link]([Link]());

/**
* Creates new form EmployeeForm
*/
public EmployeeForm() {
initComponents();
}

/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {

jPanel1 = new [Link]();


jButton1 = new [Link]();
jButton2 = new [Link]();
jButton3 = new [Link]();

19
jButton4 = new [Link]();
jLabel8 = new [Link]();

setDefaultCloseOperation([Link].EXIT_ON_CLOSE);

[Link](new [Link](102, 153, 255));

[Link]("ADD EMPLOYEE RECORDS");


[Link](new [Link]() {
public void actionPerformed([Link] evt) {
jButton1ActionPerformed(evt);
}
});

[Link]("CALCULATE SALARY");
[Link](new [Link]() {
public void actionPerformed([Link] evt) {
jButton2ActionPerformed(evt);
}
});

[Link]("VIEW EMPLOYEE REPORT");


[Link](new [Link]() {
public void actionPerformed([Link] evt) {
jButton3ActionPerformed(evt);
}
});

[Link]("DELETE EMPLOYEE RECORDS");


[Link](new [Link]()
{ public void actionPerformed([Link] evt) {
jButton4ActionPerformed(evt);
}

20
});

[Link]("MENU");

[Link] jPanel1Layout = new


[Link](jPanel1);
[Link](jPanel1Layout);
[Link](

[Link]([Link])
.addGroup([Link]()
.addGap(284, 284, 284)
.addComponent(jLabel8)
.addContainerGap([Link].DEFAULT_SIZE,
Short.MAX_VALUE))
.addGroup([Link],
[Link]()
.addGap(0, 209, Short.MAX_VALUE)

.addGroup([Link]([Link].
LEADING, false)
.addComponent(jButton1, [Link].DEFAULT_SIZE,
[Link].DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton2, [Link].DEFAULT_SIZE,
[Link].DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton3, [Link].DEFAULT_SIZE,
[Link].DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton4, [Link].DEFAULT_SIZE,
[Link].DEFAULT_SIZE, Short.MAX_VALUE))
.addGap(294, 294, 294))
);
[Link](

[Link]([Link])
.addGroup([Link]()
.addGap(37, 37, 37)

21
.addComponent(jLabel8)
.addGap(18, 18, 18)
.addComponent(jButton1, [Link].PREFERRED_SIZE,
23, [Link].PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(jButton2)
.addGap(18, 18, 18)
.addComponent(jButton3)
.addGap(18, 18, 18)
.addComponent(jButton4)
.addContainerGap(188, Short.MAX_VALUE))
);

[Link] layout = new


[Link](getContentPane());
getContentPane().setLayout(layout);
[Link](
[Link]([Link])
.addComponent(jPanel1, [Link],
[Link].DEFAULT_SIZE,
[Link].DEFAULT_SIZE, Short.MAX_VALUE)
);
[Link]( [Link]([Link]
[Link])
.addComponent(jPanel1, [Link],
[Link].DEFAULT_SIZE,
[Link].DEFAULT_SIZE, Short.MAX_VALUE)
);

pack();
}// </editor-fold>

private void jButton3ActionPerformed([Link] evt)


{ view obj=new view();
[Link](true);// TODO add your handling code here:

22
}

private void jButton2ActionPerformed([Link] evt)


{ CalculateSalary obj=new CalculateSalary();
[Link]();
[Link](true); // TODO add your handling code here:
}

private void jButton1ActionPerformed([Link] evt) {


try{
[Link]("[Link]");
Connection con
=[Link]("jdbc:mysql://localhost:3306/payroll","root","");
PreparedStatement ps=[Link]("INSERT INTO
`employee_payroll`(`EmployeeID`,`EmployeeName`,`Designation`,`Department`,`Ba
sic Salary`,`Additional Amount`,`Deduction`,`Gross Salary`,`Net Salary`) VALUES
(?,?,?,?,?,?,?,?,?)");
}
catch(Exception E)
{
[Link](null,"Error:"+[Link]());
}
AddEmployeedetails obj=new AddEmployeedetails();
[Link]();
[Link](true); // TODO add your handling code here:
}

private void jButton4ActionPerformed([Link] evt)


{ DeleteEmployee obj= new DeleteEmployee();
[Link]();
[Link](true); // TODO add your handling code here:
}

/**

23
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code
(optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look
and feel.
* For details see
[Link]
*/
try {
for ([Link] info :
[Link]()) {
if ("Nimbus".equals([Link]())) {
[Link]([Link]());
break;
}
}
} catch (ReflectiveOperationException |
[Link] ex) {
[Link]([Link], null, ex);
}
//</editor-fold>

/* Create and display the form */


[Link](() -> new EmployeeForm().setVisible(true));
}

// Variables declaration - do not modify


private [Link] jButton1;
private [Link] jButton2;
private [Link] jButton3;
private [Link] jButton4;

24
private [Link] jLabel8;
private [Link] jPanel1;
// End of variables declaration
}

25
CHAPTER 9
CONCLUSION
The PayTrack – Employee Management System successfully automates essential
payroll operations such as storing employee details, calculating gross and net salaries,
generating salary slips, producing department-wise reports, and deleting employee
records when required. By computerizing the payroll process, the system significantly
reduces human errors that are common in manual salary calculations and record
maintenance. The use of Java for application development and database
connectivity (JDBC) for data storage ensures secure, reliable, and efficient handling
of employee and salary information. The user-friendly Java Swing interface makes
the system easy to operate, even for users with minimal technical knowledge. Overall,
PayTrack provides an efficient, accurate, and scalable solution for managing
employee payroll, making it suitable for small to medium-scale organizations and
fulfilling the objectives of the KTU mini project requirements.

26
REFERENCES
1. E. Balagurusamy, Programming with Java – A Primer, 6th ed.,
TataMcGraw-HillEducation,
NewDelhi,India,
2019.
2. A. Silberschatz, H. F. Korth and S. Sudarshan, Database System Concepts, 7th ed.,
McGraw-HillEducation,
NewYork,USA,
2020.
3. R. S. Pressman and B. R. Maxim, Software Engineering: A Practitioner’s
Approach, 9thed.,
McGraw-HillEducation,
NewYork,USA,
2020.
4. K. Laudon and J. Laudon, Management Information Systems: Managing the Digital
Firm,16thed.,
PearsonEducation,
London,UK,
2021.
5. E. Balagurusamy, Programming with Java: A Primer,
6th ed., New Delhi, India, McGraw-Hill Education, 2019.
6. IEEE Computer Society, IEEE Standard for Software Requirements Specifications,
IEEEStd830-1998,1998.
keywords: {Software Requirements Specification; Functional Requirements; Non-
Functional Requirements; Software Documentation; System Design}

27

You might also like