Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part I. Create a user interface using Java FX. This interface will have the following features. A file chooser option to pick a file from

Part I.

Create a user interface using Java FX. This interface will have the following features. A file chooser option to pick a file from the computer. This will require research to find out how to create a file chooser. You may reference my videos for an example of this. The interface will also have a welcome greeting and will allow you to fill in the following fields:

Name

Date of Birth

Address

Years of experience

The GUI will also have a print paycheck button. When clicked, the paycheck is printed to a text file that is saved. The user will save the file wherever they choose. So therefore, there will have to be a dialog box that appears to choose the location of where the file should be saved.

Part II.

You will have a class called Paycheck that will parse the file that was selected. The file will contain data for the salary of the user. You will use the salary of the user to calculate the paycheck. You will have to reference the link below on how a paycheck is calculated and use the current IRS income tax chart to calculate the taxes. The salary of the user will depend on the years of experience entered into the GUI.

Part III.

You will create a class called Employee. The employee class will contain a paycheck object. This class will also have the name, date of birth and address of the user. This class should be used when the print paycheck button is pressed. The printed text file should contain all the breakdown of taxes, Social Security, Medicare, etc. Also, the net pay should be printed.

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_2

Step: 3

blur-text-image_3

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions