Tax management database application

Assignment Help JAVA Programming
Reference no: EM133015155

Assessment - Database, Multithreading and Networking

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.

Task 2: Multi-threaded Animation

The program described in listing 20.5 of your textbook displays bouncing balls as shown below:

Modify this program so that
• it uses a thread to animate the bouncing ball movements
• users can increase and decrease the speed of the ball by using a slider
• Suspend, Resume, Add Ball and Remove Ball buttons work
Marks distribution:

Functionality

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

Task 3: Client Server Loan Processing Application

Write a JAVA GUI program for a server and multiple clients. A client sends loan information (annual interest rate, number of years, and loan amount) to the server. The server then calculates monthly payment and total payment, and sends them back to the client. Note that, the loan information of a client should not be available to other clients. You need to use java networking concepts to implement this task.

Marks distribution:

Functionality

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

Requirements:
For each Task, the following items are to be submitted in the Turnitin
Report: The report (in .doc or .pdf format) should explain how to run your program and any settings needed to run your program. Enough number of screenshots should be shown in the document. In case if the assignment marker fails to run your program, because of any inconvenience, these screenshots would show how the program worked on your machine/environment.

Learning outcomes:
- be able to create, manage and manipulate objects via the Java Collections Framework.
- be able to design and implement multithreaded Java applications.
- be able to design and construct Java Graphical User Interfaces (GUI) that interact with problem domain objects.
- be able to create, connect to and update a relational database using the Java Database Connectivity (JDBC).
- be able to demonstrate the use of the inheritance features of the Java language to design and implement complex object-oriented programs.

Attachment:- Multithreading and Networking.rar

Reference no: EM133015155

Questions Cloud

Four paradigm of isd : Regarding to four paradigm of ISD, what is the strength and weakness of viewing the world through "order" and "conflict"
Calculate the expected rate of return and risk by formula : You are considering an investment in an investment asset. The actual rate of return is 12%. Calculate the expected rate of return and the risk by formula
Define E-commerce : Define E-commerce? Identify and briefly explain six types of E-commerce? Provide a real-life example for each type of E-commerce
Identify and explain the business risks : Identify and explain the business risks that should be assessed by the management of Keepfit in details
Tax management database application : Tax Management Database Application - Write a JAVA GUI program for a server and multiple clients. A client sends loan information
What is the present value : Question - What is the present value (PV) of $50,000 received ten years from now, assuming the interest rate is 5% per year
What the pharoah direct labor rate variance : Assembly line workers at Pharoah Manufacturing worked a total of 13700 direct labor hours to produce 37800 units. What the Pharoah direct labor rate variance
How much should be the price of this bond today : The Tonald Drump Real Estate Inc. issued a 20 year maturity bond on June 16, 2010. How much should be the price of this bond today
What is the breakeven point in dollars : Question - Assume a sales price per unit of $25, variable cost per unit $15, and total fixed costs of $16560. What is the breakeven point in dollars

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