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

  Write a program to declare the array

Write Java program to print your full name in three lines. Write a program to declare the array myList ={5, 10, 15, 20, 25} and print the summing of all element

  Design and implement a sorting algorithm

Your task is to design and implement a sorting algorithm and running time grows as a linear function of the array

  Generate the pseudocode for each of the classes.

Generate an object-oriented design for a system that keeps tracks of your CD and DVD collection.

  Determines the surface area and volume of a hemisphere

Write an application that reads determines the surface area and volume of a hemisphere and then calculates the radius given a surface area and volume.The first step is to read in the radius from the users and then calculate the surface area and vo..

  Complete the simulation of the code

Complete the simulation of the code

  Which class is responsible for computing the amount due

Which class is responsible for computing the amount due? Why do the format methods return String objects instead of directly printing to System.out?

  Determine the number of quarters

Read in a sum of money and determine the number of quarters, dimes, pennies and nickels represented in the cents portion.  You must get an optimal mix; all pennies, for example, is not allowed.

  Implement the dynamic linkage pattern specified

Implement the Dynamic Linkage pattern specified - implement all of the classes as defined below substituting the yellow classes with your own class definitions - The header basically is a comment section at the beginning of each of your Java file ab..

  Output the unsorted array using declare for loop

Did you change the values from doubles to ints? Make them unsorted. output the unsorted array using //Declare For Loop 1

  Prepare a method that will guess the root of a number

Using binary search/interval halving, prepare a method that will guess the root of a number (JAVA)

  What is the value of rolling back a database transaction

What is the value of rolling back a database transaction? What could be fixed when you rollback a database transaction's steps?

  Write a program that implements the game of handgman

Write a method heading for each method. Write a program that implements the game of handgman, using the class you wrote for part d

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