Design, implement, test, and debug an application to compute an employee’s weekly pay. If the employee works more than 40 hours a week, the employee earns 1.5 times the basic hourly pay for any time worked over 40 hours. The program should allow the user to input the employee’s name, the
number of hours worked, and the hourly rate.
The application should include a Calculate button that, when pressed, computes and displays the total pay in a label or text field.
The program should allow the user to enter information for any number of employees in this manner.
Include an Exit button to end the execution of the application.
The program should allow the user to select the employee’s department from a menu. This can be a standard menu, radio buttons, or a JComboBox. Create your own list to populate the menu: Marketing, IT,
Accounting, and so forth.
Include at least five departments.
Validate the employee’s hourly wage and hours worked according to the following rules:
The hourly wage must be at least $6 per hour and cannot be more than $150 per hour. It must be numeric.
The hours worked must be a numeric value greater than or equal to 0 and cannot be greater than 60.
Create a JTextArea, JTable, or other form of a table to your application and use that to list the following for every employee:
Name
Department
Weekly salary
Add each employee to the list after you have computed that employee’s salary.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more