Question: Create an java application that calculates the registration fee for a conference. The general conference registration fee is $895 per person, and student registration is

Create an java application that calculates the registration fee for a conference. The general conference registration fee is $895 per person, and student registration is $495 per person. There is also an optional opening night dinner with a keynote speech for $30 per person. In addition, the optional pre-conference workshops listed below are available.

The application should allow the user to select the registration type, the optional opening night dinner and the keynote speech, and as many pre-conference workshops as desired. The total cost should be displayed.

(1) Create a GUI as the following screenshot. Name each of the components properly.

(2) In the application, represent the price for registration and each event as named constants.1

Workshop

Fee

Introduction to E-commerce

$295

The Future of the Web

$295

Advanced Java Programming

$395

Network Security

$395

Implement the Action Listener of the buttons.

When the Confirm button is pressed, calculate the total costs, based on the registration type and event selected. Display the result in a label. Also in the text area, display a summary of the event selected.

When the Cancel button is pressed, reset the screen to the starting status (i.e., deselect all the options, and make the registration type as General registration.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!