PRG 421 Week 2 GUI Components Program

Availability: In stock

Regular Price: $20.00

Special Price: $15.00

OR

PRG 421 Week 2 GUI Components Program

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

Quick Overview

PRG 421 Week 2 GUI Components Program

For this assignment, you will choose from the following options:
Option 1: Retail Calculator
A retailer would like a calculator to indicate sale prices when he marks items down at various percentages.
Design, implement, test, and debug a GUI application that allows the retailer to enter the item’s name, the item’s original price, and the percentage discounted.
• The application should include a Calculate button that, when pressed, computes and displays the sale price in a label or text field.
• The program should allow the retailer to enter any number of items in this manner.
• Include an Exit button to end the execution of the application.
• The program should allow the user to select a department from a menu. You may create the menu as a true menu, a JComboBox, or radio buttons.
• Create your own list to populate the menu: men’s clothing, women’s clothing, house wares, and so forth.
• Include at least five departments.
• Create a JTextArea or a JTable to display each of the following for each item entered:
o Item name
o Department
o Original price
o Sale price

Option 2: Payroll Application
An employer is looking for an easier way to track employee pay.
Design, implement, test, and debug an application to compute an employee’s weekly pay. If the employee works more than 40 hours a week, the employee earns 1.5 times the basic hourly pay for any time worked over 40 hours. The program should allow the user to input the employee’s name, the number of hours worked, and the hourly rate.
• The application should include a Calculate button that, when pressed, computes and displays the total pay in a label or text field.
• The program should allow the user to enter information for any number of employees in this manner.
• Include an Exit button to end the execution of the application.
• The program should allow the user to select the employee’s department from a menu. This can be a standard menu, radio buttons, or a JComboBox.
• Create your own list to populate the menu: Marketing, IT, Accounting, and so forth.
• Include at least five departments.
• Validate the employee’s hourly wage and hours worked according to the following rules:
    The hourly wage must be at least $6 per hour and cannot be more than $150 per hour. It must be numeric.
    The hours worked must be a numeric value greater than or equal to 0 and cannot be greater than 60.
• Create a JTextArea, JTable, or other form of a table to your application and use that to list the following for every employee:
o Name
o Department
o Weekly salary
Add each employee to the list after you have computed that employee’s salary.

Regular Price: $20.00

Special Price: $15.00

Details

PRG 421 Week 2 GUI Components Program

For this assignment, you will choose from the following options:
Option 1: Retail Calculator
A retailer would like a calculator to indicate sale prices when he marks items down at various percentages.
Design, implement, test, and debug a GUI application that allows the retailer to enter the item’s name, the item’s original price, and the percentage discounted.
• The application should include a Calculate button that, when pressed, computes and displays the sale price in a label or text field.
• The program should allow the retailer to enter any number of items in this manner.
• Include an Exit button to end the execution of the application.
• The program should allow the user to select a department from a menu. You may create the menu as a true menu, a JComboBox, or radio buttons.
• Create your own list to populate the menu: men’s clothing, women’s clothing, house wares, and so forth.
• Include at least five departments.
• Create a JTextArea or a JTable to display each of the following for each item entered:
o Item name
o Department
o Original price
o Sale price

Option 2: Payroll Application
An employer is looking for an easier way to track employee pay.
Design, implement, test, and debug an application to compute an employee’s weekly pay. If the employee works more than 40 hours a week, the employee earns 1.5 times the basic hourly pay for any time worked over 40 hours. The program should allow the user to input the employee’s name, the number of hours worked, and the hourly rate.
• The application should include a Calculate button that, when pressed, computes and displays the total pay in a label or text field.
• The program should allow the user to enter information for any number of employees in this manner.
• Include an Exit button to end the execution of the application.
• The program should allow the user to select the employee’s department from a menu. This can be a standard menu, radio buttons, or a JComboBox.
• Create your own list to populate the menu: Marketing, IT, Accounting, and so forth.
• Include at least five departments.
• Validate the employee’s hourly wage and hours worked according to the following rules:
    The hourly wage must be at least $6 per hour and cannot be more than $150 per hour. It must be numeric.
    The hours worked must be a numeric value greater than or equal to 0 and cannot be greater than 60.
• Create a JTextArea, JTable, or other form of a table to your application and use that to list the following for every employee:
o Name
o Department
o Weekly salary
Add each employee to the list after you have computed that employee’s salary.

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.