Question
Purpose: Build an application to calculate an Employees Gross Pay use Java OO GUI Design. Problem: Build a GUI application that would allow the user
Purpose: Build an application to calculate an Employees Gross Pay use Java OO GUI Design.
Problem: Build a GUI application that would allow the user to calculate an Employees Gross Pay. The user will enter the employees id number, pay-period end-date and hours worked. The program will read the input file to obtain the employee name and hourly pay rate. The program then calculates and displays the Employees Full Name and Gross Pay for the pay period (see both inputs and outputs listed in the table below).
Assumptions: Gross Pay = (Regular hours* pay rate) + (Over Time hours * pay rate *1.5) Regular hours are less than or equal to 40
Data Requirements Input Fields Data-Type User Input Employee # Pay-Period End-Date Hours Worked Strin String (or Date Double 15 03/13/17 41.5 Employe e File Emplovee.txt Employee # Last Name First Name: Pay Rate Strin Strin Currency or Doubl 15 John Smith 25.75 Processes Enter Input Read Employee File Calculate Gross Pa Display Output Other Processes Clear Clear Input /Output control for the next Employee or To start over End the Screen /Application Close / Exit Output Employee's Full1 Name Regular Hours Over-Time Hours Regular Pay Over-Time Pa Employee's Gross Pa Advanced
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started