Determine Pay Slip - determine the tax rate, calculate the income tax and the net salary, and then display them in their appropriate fields with explanations of the methods involved. o Reset – remove all existing contents from the fields with explanations of the methods involved. o Close - close the application with explanations of the methods involved. Appropriate use of a layout manager for the different containers Note: You must use proper naming convention for the Java code and you need to briefly elaborate keywords, concept, and logic in your own words.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
100%
Determine Pay Slip - determine the tax rate, calculate the income tax and the net salary,
and then display them in their appropriate fields with explanations of the methods
involved.
Reset – remove all existing contents from the fields with explanations of the methods
involved.
Close – close the application with explanations of the methods involved.
• Appropriate use of a layout manager for the different containers
Note: You must use proper naming convention for the Java code and you need to briefly elaborate
keywords, concept, and logic in your own words.
Task 2.2. Using the same scenario, implement (in Java) a console application for writing data to a
:30 marks
• Implement createFile() method - To open/create a new file named as 'mec.txt' with
sequential text file with a formatter class in Java.
explanations of the methods involved.
Implement writeRecord() method - User enter the employee name, employee id, gross
salary, tax rate, income tax and net salary from the keyboard and write/add these values to
the file 'mec.txt' with explanations of the methods involved. The input fields must be validated
as necessary.
Implement closeFile() method – Close the file with explanations of the methods involved.
Note: You must use proper naming convention for the Java code and you need to briefly elaborate
keywords, concept, and logic in your own words.
Transcribed Image Text:Determine Pay Slip - determine the tax rate, calculate the income tax and the net salary, and then display them in their appropriate fields with explanations of the methods involved. Reset – remove all existing contents from the fields with explanations of the methods involved. Close – close the application with explanations of the methods involved. • Appropriate use of a layout manager for the different containers Note: You must use proper naming convention for the Java code and you need to briefly elaborate keywords, concept, and logic in your own words. Task 2.2. Using the same scenario, implement (in Java) a console application for writing data to a :30 marks • Implement createFile() method - To open/create a new file named as 'mec.txt' with sequential text file with a formatter class in Java. explanations of the methods involved. Implement writeRecord() method - User enter the employee name, employee id, gross salary, tax rate, income tax and net salary from the keyboard and write/add these values to the file 'mec.txt' with explanations of the methods involved. The input fields must be validated as necessary. Implement closeFile() method – Close the file with explanations of the methods involved. Note: You must use proper naming convention for the Java code and you need to briefly elaborate keywords, concept, and logic in your own words.
You have been assigned to develop and design a Java Swing Application (Graphical User Interface) to
generate the monthly pay slips of a company called Evolution Middle East LLC in Muscat in the Sultanate of
Oman. The system would accept the ID of the employee, the name of the employee and his gross salary.
The input fields must be validated as necessary.
Based on the gross salary provided, if it is equal to or greater than OMR 1500, the system should apply a
tax rate of 6% when calculating the income tax otherwise a tax rate of 0% should be applied when
calculating the income tax.
As shown in the GUI below, the results of calculations such as tax rate, income tax and net salary should be
shown.
To start the calculations, the button Determine Pay Slip should be used and the button Reset should be used
to clear all fields so that the next employee details can be entered. To close the application, the button Close
should be used.
S Evolution Middle East LLC
Evolution Middle East LLC Employee Pay Slip
Employee Name
Tax Rate
Employee ID
Income Tax
Gross Salary
Net Salary
Determine Pay Slip
Reset
Close
Task 2.1 Using NetBeans/Eclipse/JCreator Design and implement the application described above
using GUI components (Java Swing and Event Handling).
:50 marks
The company name should be in the frame header (the main container)
Appropriate use of components such as labels, panels, fields and buttons to represent the
interface as per the given requirements
You are expected to use your own design layout, style and color scheme
Add trigger events for the different buttons to generate and display the pay slip
Transcribed Image Text:You have been assigned to develop and design a Java Swing Application (Graphical User Interface) to generate the monthly pay slips of a company called Evolution Middle East LLC in Muscat in the Sultanate of Oman. The system would accept the ID of the employee, the name of the employee and his gross salary. The input fields must be validated as necessary. Based on the gross salary provided, if it is equal to or greater than OMR 1500, the system should apply a tax rate of 6% when calculating the income tax otherwise a tax rate of 0% should be applied when calculating the income tax. As shown in the GUI below, the results of calculations such as tax rate, income tax and net salary should be shown. To start the calculations, the button Determine Pay Slip should be used and the button Reset should be used to clear all fields so that the next employee details can be entered. To close the application, the button Close should be used. S Evolution Middle East LLC Evolution Middle East LLC Employee Pay Slip Employee Name Tax Rate Employee ID Income Tax Gross Salary Net Salary Determine Pay Slip Reset Close Task 2.1 Using NetBeans/Eclipse/JCreator Design and implement the application described above using GUI components (Java Swing and Event Handling). :50 marks The company name should be in the frame header (the main container) Appropriate use of components such as labels, panels, fields and buttons to represent the interface as per the given requirements You are expected to use your own design layout, style and color scheme Add trigger events for the different buttons to generate and display the pay slip
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Database connectivity
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education