Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The problem has to be answered by using JavaFX . CEO of Factory X make a request to your software company about design a program

The problem has to be answered by using JavaFX.

image text in transcribedimage text in transcribedimage text in transcribed

CEO of Factory X make a request to your software company about design a program with user interface. The program should calculate Factory X's payment amount which will be made for all type of employees. Create Payable (interface), Employee, SalariedEmployee, HourlyEmployee, CommissionEmployee, BasePlusCommissionEmployee, and Test (main) class according to requirements given in LAB 5. NOTE: Do not use invoice class, it is not needed. You may use other classes. If necessary, make some changes to provide true encapsulation (design all data fields as private and reach them just using get/set methods) and inheritance practice in your implementation. Hierarchy between classes: EMPLOVEE SALARY CALCULATOR -0 Choose Employee Type Solaried Employee Hourly Employee Commission Employee Last Name Base Plus Commission Employee None Search/Update SSN Weekly Salary SALARY VALUE Wage Hours EMPLOVEE SALARY CALCULATOR Choose Employee Type Salaried Employee First Name Last Name SSSN Search/Update SSN SALARY 1- Your program should store, add, update and search salary information of all type employees as shown in figures above. Use random access file(.dat) or text file (.txt) for reading and writing an employee information. - Program should perform Add, Search by SSN, Update by SSN CleanTextFields operations. - SSN text field should be "read only" and SSN should be set in the code for each record, do not take from user. - When program starts, read all records from random access file or text file and save each record in Employee []. (Employee array) - Update both Employee [] and random access file or text file when add and update operations happen. - Add: Select employee type from dropdown list. According to your selection, related text fields are enabled, unrelated text fields are disabled (Search/Update SSN text field always enabled). Enter employee information into enabled text fields, then press "add button". Your employee record will be written into file. Also add that record into your Employee[] - Search by SSN: Enter SSN of employee whose information you want to reach, into "Search/Update SSN text field". Press "Search by SSN button". Then all information related to the employee will be displayed, such as employee type, first name, last name, SSN, salary etc.. - Update by SSN: Enter SSN of employee whose information you want to update, into "Search/Update SSN text field". Enter other fields you want to update, then press "Update by SSN button". Employee record which is placed in file should be updated. Also, Employee[] should be updated. - Clean TextFields: Cleans all text fields. 2- Submit a report (word or pdf) file that explains following questions with a cover page that contains your name and number. In the report: - Indicate all project member's student No- Name surname in the report. Describe the problem including major steps, functions for solving the problem and input/output in your own words. - Draw the UML diagram of your code. - Describe how you test this program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Using Language That Works

Answered: 1 week ago

Question

4. Are my sources relevant?

Answered: 1 week ago