Tax management database application

Assignment Help JAVA Programming
Reference no: EM133010235

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.

Attachment:- Multithreading and Networking.rar

Reference no: EM133010235

Questions Cloud

What amount should be reported as cash : The cash on hand included a P100,000 check payable to the entity dated January 31 2017. What amount should be reported as cash
Prepare recommendation for human resources manager : Assist in shortlisting candidates. You are required to review the candidate summaries to determine and prepare a recommendation for the Human Resources Manager
Calculate the net present value of the proposed equipment : Calculate the net present value of the proposed equipment purchase. Culver uses a 11% discount rate
Determine each partner adjusted basis in quick : Given the following partnership activity for the year, determine each partner's adjusted basis in Quick and Reddy at the end of the taxable year
Tax management database application : Tax Management Database Application - Write a JAVA GUI program for a server and multiple clients and You need to use java networking concepts
Describe the risks associated with sampling methods : There were 2,000 customer accounts in the subsidiary ledger with a total recorded value of $450,000. Describe the risks associated with sampling methods
What the budgeted fixed cost for september : Among variances of the period were: total variable cost flexible-budget variance, $9,500U; What the budgeted fixed cost for September
What is the net present value : What is the net present value of the following payment stream at an interest rate of 7%; $1000 invested at the end of year 0
Calculate the incremental shares outstanding for pharoah : The average market price during the year was $12per share. Calculate the incremental shares outstanding for Pharoah Limited

Reviews

Write a Review

JAVA Programming Questions & Answers

  Program to calculate the average of 5 numbers entered.

Show what the PC monitor will show when the program is executed with the following values used: 27, 12, and 15.

  Create a new class called dwelling

1 Create a new class called Dwelling that includes the functionality below 2.    The new class has the attributes of: category - dwelling's category (i.e.:"House", "Condo", "Apartment","shach",etc.), type String numberOfBedrooms - the number of bedro..

  Will this code fragment throw an exception

Will this code fragment throw an exception? Explain

  Create and test the program using eclipse

Change the file templates so that all the files you create have your name and student number in them, Create and test the program using eclipse

  Create a japplet that contains a jlabel and jbutton

Create a JApplet that contains a JLabel and JButton -  create an HTML document to host the applet, set the Width to 450 and the Height to 200. Save as TestJChangeFont.html.

  Create javafx application named to animate man running laps

Create a JavaFX application named RunningMan.java to animate a man running laps. The man should run from left to right until the edge of the window is reached. The man should then begin running in the opposite direction.

  Create an application for disney''s cottages

Create an application for Disney's Cottages, a weekend getaway resort that rents cottages and boats to use on the local lake

  Create an abstract class named element

Part 1: Create an abstract class named Element that holds properties of elements, including their symbol, atomic number, and atomic weight. Include a constructor that requires values for all three properties and a get method for each value.

  What is the benefit of using layout managers

What is the benefit of using layout managers? When a mouse event is generated how is the location of the click point determined? What layout manager should you use so that every component occupies the same size in the container?

  Implement a workout log that lets the user keep track

Implement a Workout Log that lets the user keep track of different types of exercise - Display a welcome message with some basic instructions

  Building an ms paint like application in java

Opportunity to apply the object-oriented software development skills you have acquired during the course to a significant but moderately-sized application

  Create application containing array that stores ten integers

Create an application containing an array that stores 10 integers. The application should call five methods that in turn display all the integers.

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