Java Application
Objectives
· Analyse, develop, and implement software solutions
· Choose and compare appropriate data structures in program design
· Apply classes, inheritance, polymorphism, and exception handling
· Test software implementations to ensure correctness and maintainability
Assessment Task
In this assignment, you are required to write a Java Application that uses an interactive Graphical User Interface (GUI) based on the JFrame class using SWING GUI components. You will also be designing and implementing the software solution using appropriate data structures and application of classes, inheritance, polymorphism, and exception handling.
Your task is to develop a Java Application that lets the user to choose food and beverage item for a lunch menu and displays the nutrition values for the individual items and total for the lunch menu. The application should contain a GUI as shown below. The GUI components should consist of the following panels.
1. A top panel that contains two Text fields, two ComboBoxes (drop down list) and six
Labels.
2. A middle panel that contains a Text area to display the menu choices and nutrition values.
3. A bottom panel that contains four buttons which are “Enter Data” button, “Display
Choices” button, “Clear Display” button and “Quit” button.
The functions of four buttons are described below.
1. Enter Data
The user enters the name and table number through the text fields on the GUI, and
selects food and beverage for the lunch menu. The list of food and beverage items to be used is provided in Tables 1-2 given below. These Tables contain the corresponding nutrition values also.
MyAssignmenthelp.com functions as one-stop solutions of all types of assignment related queries. Expert writers associated with MAH deliver assignment help online in the fastest way possible. With assignment writing help, we have different teams of editors who provide assignment editing and proofreading assistance as well. For students who often wonder, who can do my assignment online or search the internet with the search term like write my assignment online, we provide one stop answer to all their assignment related issues. For our extensive range of services, students prefer to buy assignment from us at cheap rates.