Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This Java project will contain the following concepts: Runnable Exacutable JAR File Multiple Classes Graphical User Interface Exceptions Parsing file(s) The submission of this project

This Java project will contain the following concepts:

Runnable Exacutable JAR File

Multiple Classes

Graphical User Interface

Exceptions

Parsing file(s)

The submission of this project will be the executable program. The program should be formatted to use a Graphical User Interface (GUI).

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.

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.

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.

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

********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_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

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions