Calculate tax for an employee

Assignment Help JAVA Programming
Reference no: EM133010002

Assessment - Database, Multithreading and Networking

TASK

Task 1: Tax Management Database Application

Write a Java GUI program that will calculate tax for an employee ID and will store the tax information in a table called "TaxResult" of a MySQL database called "TaxManagementSystem". The fields of the TaxResult table is ID (primary key and data type varchar), Financial Year (data type varchar), Taxable Income (data type double), and Tax (data type double).

The taxrates.txt file contains the tax rates which will be uploaded in the subject interact site. The program needs to read the taxrates.txt file and store the tax information in a proper data structure so that it can be easily used in tax calculation. The format of the taxrates.txt file is as follows:

Taxable Income Tax on Income

0 - $18,200 0

$18,201 - $45,000 9c for each $1 over $18,200

$45,001 - $120,000 $5,092 plus 32.5 cents for each $1 over $45,000

$120,001 - $180,000 $29,467 plus 37 cents for each $1 over $120,000

$180,001 and over $51,667 plus 45 cents for each $1 over $180,000

The GUI of the application is shown below. The GUI will be asking for three input values namely ID, Financial Year and Taxable Income.

When a user clicks on the "Calculate" button then tax will be calculated on the given taxable income and will be shown in the GUI as shown below and the ID, Financial Year, Taxable Income, and Tax will be stored in the TaxResult of the TaxManagementSystem database. Note that, if an ID already exists in the table then display a warning/appropriate message in the GUI. If the taxable income or financial year is null then GUI should display a warning/appropriate message.

Moreover, the application will have search, update and delete options as shown in the above GUI.

Search Operation: Using ID, a user can search for tax information for that ID. If the ID does not exist in the table then display an appropriate message in the GUI.

Update Operation: Using ID, the financial year and taxable income for that ID can be updated. If the ID does not exist in the table then display an appropriate message in the GUI.

Delete Operation: Using ID, the record for that ID can be deleted. If the ID does not exist in the table then display an appropriate message in the GUI.

Marks distribution:

Functionality

Presentation: Report with enough screen shots is submitted. The discussion on each screen shot is easy to read and understand.

Reference no: EM133010002

Questions Cloud

Do you view this attitude as positive or negative : What one attitude toward business today do you find most prevalent?
Significant risk to personal safety in the workplace : Which rules should be followed when there is a significant risk to personal safety in the workplace?
Preventing the escalation of workplace conflict : Identify three ways of preventing the escalation of workplace conflict.
Analyse how network attacks could be mitigated : Analyse how network attacks could be mitigated. Discuss tools to protect from the recent attacks. Recommend any two mitigation techniques to tackle network atta
Calculate tax for an employee : Write a Java GUI program that will calculate tax for an employee ID and will store the tax information in a table - application will have search, update
Key outcomes and key performance indicators : Develop measurable criteria which you will use to base your questions for the Individual appraisals on.
Explain the meaning of work-life balance in a workplace : Using an example identify three strategies that organisations may use to improve work-life balance among their employees? Which are likely to prove most effecti
Evaluate three decisions making styles : Using an example evaluate three decisions making styles that contributes to effective decisions. Explain the meaning of decision making.
Considering the international compensation approaches : Think yourself as an HR Manager of OPPO, China. Design the compensation package for Mr Niloy, considering the international compensation approaches and complexi

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd