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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started