Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question

In this Assignment, you will plan and write a GUI program to calculate pay for different types of employees. Your program should have following components-

1. Combo box to select the type of employee.

2. Two text fields to input the number of hours worked and pay rate.

3. A button to calculate the total pay.

4. Labels where appropriate.

The types of employees are as follows:

1. Salaried - These employees do not get paid by hour and earn $2000 plus a weekly bonus. Use a JOptionPane to ask for a weekly bonus.

2. Hourly - These employees are paid a sure amount per hour. Any work in excess of 40 hours is paid at time and a half

3. Volunteer - These employees do not get paid anything.
If Salaried or Volunteer is selected in the combo box, the hours and rate text fields have to be disabled, as they are not needed. Whenever employee type is changed, the hour's text field have to reset to 0 and the rate text field should reset to 0.0. If calculate button is pressed when no employee type is selected, use a JOptionPane to tell the consumer to select an employee category.

 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9718106

Have any Question?


Related Questions in Computer Engineering

Question suppose you have three non-empty stacks r s and t

Question : Suppose you have three non-empty stacks R, S, and T. Describe a sequence of Stack operations that results in S storing all elements originally in T below all of S's original element with both sets of those ele ...

You are requested to design an information technology

You are requested to design an Information Technology Infrastructure for an international nonprofit organization. The organization has six offices, one each in Ohio, Kentucky, Toronto, Michigan, Chicago, and Indiana. Col ...

Question research vacuum tubes transistors and integrated

Question : Research vacuum tubes, transistors, and integrated circuit. Explain each and then provide description on the importance of these inventions The response must be typed, single spaced, must be in times new roman ...

What is the concentration of total nitrogen in 15 mg nh3l 3

What is the concentration of total nitrogen in 15 mg NH3/L, 3 mg NO2-/L and 13 mg NO3-/L in mg/L, moles/L, ppm and ppb?

Research and describe a tool that can be used to test for

Research and describe a tool that can be used to test for web server vulnerabilities. This tool can be as simple as a Google Dork or it can be included in a toolkit for performing enumeration. Why is this tool valuable t ...

How does westpac manage foreign exchange risk how does it

How does Westpac manage foreign exchange risk? How does it differ to the other 4 big banks? (ANZ, CBA and NAB)

A report claims that for the investment portfolios with a

A report claims that for the investment portfolios with a single stock had a standard deviation of 0.57, while the returns for portfolios with 31 stocks have a standard deviation of 0.325. Explain how the standard deviat ...

The chancellor of a university has commissioned a team to

The Chancellor of a university has commissioned a team to collect data on students' GPAs (M = 3.0; SD = 0.5) and the amount of time they spend bar hopping every week (measured in minutes: M = 720; SD = 240). They find a ...

Research current literature to identify a recent project

Research current literature to identify a recent project that has combined the processing capacity of numerous small computers to address a problem. Identify the operating system used to coordinate the processors for thi ...

In 2015 caterpillar inc had about 757 million shares

In 2015, Caterpillar Inc. had about 757 million shares outstanding. Their book value was $41.0 per share, and the market price was $93.50 per share. The company's balance sheet shows that the company had $34.50 billion o ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As