Payroll System Development: Java Frames and System Architecture

Verified

Added on  2025/04/28

|17
|1912
|106
AI Summary
Desklib provides past papers and solved assignments. This report details the development of a Java-based payroll system.
Document Page
PROGRESS REPORT
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Table of Contents
Introduction................................................................................................................................3
System Architecture...................................................................................................................3
Java Frames................................................................................................................................3
Conclusion................................................................................................................................10
Appendix..................................................................................................................................11
References................................................................................................................................12
List of Figures
Figure 1 System Architecture.....................................................................................................3
Figure 2 Home page...................................................................................................................4
Figure 3 Add Employees Java Frame........................................................................................5
Figure 4 Set Wage Java Frame...................................................................................................6
Figure 5 Search Employee Java Frame......................................................................................7
Figure 6 Calculate Wage Java Frame.........................................................................................8
Figure 7 Pay Slip Frame.............................................................................................................9
Figure 8 Payment History Java Frame.....................................................................................10
Figure 9 Hierarchy diagram.....................................................................................................11
2
Document Page
Introduction
In this report, we are going to discuss the user interfaces or java frames which are going to be
created in order to complete the Payroll project. Basically, we are going to define the system
architecture to implement all the functions in the system. Class hierarchy diagram also going
to be created in order to understand the system hierarchy.
System Architecture
System Architecture is used to handle the objects which are existed in the system or are to be
created. System Architecture is used as a response to the practical and conceptual difficulties
which occur due to the complex system designs. It is a type of conceptual model which
describes the behavior, structure, and views of the system. It provides a comprehensive
solution based on concepts, principles of the system. It is used to understand the development
of the life cycle of the system. It focuses on each element of the system including the
architectural concepts and principles of the system-of-interest. We can also use this
architecture in other system development process having the common structure or pattern
(Crawley, et al., 2015).
In this assignment, the system architecture shows the payroll system behaviour in order to
understand the functioning of the Payroll system. We have developed the System architecture
in this way so that the developer can develop the system or application easily and can easily
implement all the functions in the system or application (Raghavendra & Pushpanjali,. 2018).
Figure 1 System Architecture
3
Document Page
Java Frames
Home Java frame
This frame includes all the functionalities of the Payroll system. Various functions like Add
Employee, Search Employee, Set Wages, Attendance, Pay Slip and Payment history. To
perform these functions we have created buttons which perform these functions. Add
employee function add new employees in the system. System Employees will find out the
employee from the system. Set wages will set the wages based on the employees. Calculate
payment is used to calculate the payment amount which has to pay to the employees. Pay slip
will generate the pay slip of the employee. Payment history will show the payment history of
a particular employee. Exit button will exit from the system (Kölling, et al., 2015).
Figure 2 Home page
Add Employee
This frame is used to take the employee details from the user in order to register or add the
employees in the system. In order to add the employee user has to enter the Employee ID,
employee’s name, address, phone number and email ID of the employees. To take the input
from the user we have used text field components. We have also used buttons like back and
4
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
add buttons. The back button will take back the user to the home page and the add button will
add the employee in the system.
Figure 3 Add Employees Java Frame
Set Wage
Through this java frame, the user can set the wage of an employee. In order to set the wage of
an employee, the user has to enter the employee’s ID, wage per day, wager per half day and
overtime per hour for the particular employee. After entering all these details user has to click
on the save button.
5
Document Page
Figure 4 Set Wage Java Frame
Search Employee
By this frame, user can search an employee in the system to check that if he exists in the
system or not. In order to check that user has to enter the employee ID. If this employee
existed then the details of the employees will show in the text area. If an employee not
existed in the system then the pop-up message will appear.
6
Document Page
Figure 5 Search Employee Java Frame
Calculate Wage
Through this Java, Frame user can calculate the total wage which has to pay to the employee.
In order to calculate the wage user has to enter the employee ID, total working days, total
overtime in hours, total half working days. After click on the Calculate button, the calculate
wage will show in the calculate wage text field.
7
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Figure 6 Calculate Wage Java Frame
Pay Slip
By this frame, user can generate the pay slip of an employee. In order to generate the pay
slip, the user has to enter the employee ID and then click on the generate slip button which
will print the pay details in the text area. If the user enters the wrong employee ID then the
pop-up message will occur in order to correct the employee ID.
8
Document Page
Figure 7 Pay Slip Frame
Payment History
Through this frame, the user can see the payment history of a particular employee. To see the
history user has to enter the employee ID. After entering the employee ID user has to click on
the submit button then the pay history will show in the text area. In case if the employee ID is
wrong then the pop-up message will appear in order to inform the user. Through this Frame,
user can go to the home frame by click on the back button.
9
Document Page
Figure 8 Payment History Java Frame
Java Classes:
Classes are one of the concepts of Object Oriented Programming. It defines the prototype
from those prototypes objects are created. Classes of various types of classes which are used
to implement the behavior of the objects and their class. This class is used to develop a real-
time application. It defines the properties and methods which are used to create any system.
We have to introduce many classes in order to develop this application (Hasan, et al. 2018).
We have created several classes in order to develop this system. One class is used to store the
details of the employees and wages related to them. Array list object is also created to store
the employee’s details. Several methods are also used to perform the functionalities. One
method is used to add new employees in the system. Calculate wage method is also created in
order to calculate the wage of the employee. Pay slip method is created in order to print the
pay slip details of the employees. Search employee method is created to print the register
employee details. Several variables are created in order to store the input given by the user in
10
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
order to use the system. Several class objects are also created to use that class method in other
class having the same packages (Murach & Urban, 2018).
Class Fields
Payrollhome Label, Button, Textfield
Addemployees Label, Button, Textfield
Setwage Label, Button, Textfield
Findemployee Label, Button, Texfield, TextArea
Calculatewage Label, Button, Textfield, frame
Payslip TextArea, Button, Label
Hierarchy diagram represents the hierarchy progress of the system. It represents how the
system will work from top to bottom. It also shows the connectivity between the upper level
and the lower level of the system.
Figure 9 Hierarchy diagram
11
Document Page
Conclusion
In this assignment, we have discussed the system architecture of the Payroll system. We have
created Java Frames in order to develop this system. Java Frames are created using various
components like text fields, text area, labels, and buttons. Hierarchy diagram also discussed
in order to represent the top to bottom activities in the system. The project proposal also
added to describe what we are going to do in this project or system.
12
chevron_up_icon
1 out of 17
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]