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.

Reference Links:

Runnable Jar File

https://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftasks-37.htm

Tax Brackets

https://taxfoundation.org/2017-tax-brackets/

(Table 1 only, we are assuming single taxable income only)

How to calculate paychecks

https://www.thebalance.com/how-to-calculate-deductions-from-employee-paychecks-398721

More Java FX videos

https://thenewboston.com/videos.php?cat=354

********Example file that will be read in ************

Years of Experience

0 3 $30,000

4 10 $50,000

10+ $100,000

*********Example of paycheck file that should be produced**********

Mahendra Gossai Salary: $30,000

1235 Sesame Street **All Tax breakdown

Orlando, FL 32811 Net pay:

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

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

=+differences in home- and host-country costs of living?

Answered: 1 week ago

Question

=+derived from the assignment will balance the costs?

Answered: 1 week ago