Design, implement, test, and debug a GUI-based version of a “Hello, World!” program.

Create a JFrame that includes a JLabel that reads “Hello, World!”Use a layout manager of your choice.

Include an Exit button to close the program.

Submit the .java source file.

Week #2: Payroll Application - Option 1

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:

o The hourly wage must be at least $6 per hour and cannot be more than $150 per hour. It must be numeric.

o 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.

Week #2: Retail Calculator - Option 2

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:

Item name

Department

Original price

Sale price

Week #3: Contacts program

Part 1

Design, implement, test, and debug a program with a JFrame that allows the user to enter a series of contacts’ names, ages, e-mail addresses, and cell phone numbers, and creates a file from the entered data. Validate the age entry to ensure that it is numeric and between 0 and 120. Include information for three to five contacts.

Part 2

Design, implement, test, and debug a program that reads the file you created by the list in Part 1 and displays the records in a JFrame. You may either display all entries in the list at once or display them one at a time; the user interface is up to you. Protect against not being able to open the file.

Submit the .java source files.

Week #4: Pie Chart Applet

Write an applet that includes a pie chart.

Use a news article with statistics that are good candidates for a pie chart: for example, political candidate preferences; percentages of those for, against, or undecided about a ballot measure; and so forth.

Cite the source for your input statistics.

Submit the applet along with an HTML file to launch it.

Complete solution for PRG421 Individual Assignments.

Solution contain java program.

Please using Netbean IDE create new project and copy all source codes to src folder. Then you can run programs.

If you have more questions, please contact me via email support@extutorials.com