Question: Assignment Content (USING JAVA/ JAVA FX) (NEED HELP FINISHING THE PROGRAM) You have been hired by a catering service to develop a program for ordering

Assignment Content (USING JAVA/ JAVA FX) (NEED HELP FINISHING THE PROGRAM)

You have been hired by a catering service to develop a program for ordering menu items. You are to develop a Chinese food menu. You will need textboxes for the following:

The name of the catering services (use your imagination)

name

address

phone number

date of event to be catered

location of event (address)

For the next part, create the menu options for:

Appetizers

Soups

Main Dishes

Types of Rice

Beverages

There should be several offerings of each category. Please utilize items out of Chapter 16 to help you create the menu. These include but are not limited to: labels, check boxes, radio buttons, text fields, text areas, combo boxes, etc. There should also be a "Place Order" button and a "Cancel" button.

As this is a GUI interface, you will also need a Border Pane or GridPane for your display.

Once the Place Order button is clicked, there should be a setOnAction (from Chapter 15) to process the order which will display the items ordered.

At this time, don't worry about the pricing or total cost. This is just the Order Form.

Give the name of the program any name you would like as long as it is descriptive of the program.

Need Help finishing the rest of this program.

import javafx.application.Application;

import javafx.geometry.Insets;

import javafx.scene.Scene;

import javafx.scene.control.Button;

import javafx.scene.control.CheckBox;

import javafx.scene.control.ComboBox;

import javafx.scene.control.Label;

import javafx.scene.control.RadioButton;

import javafx.scene.control.TextArea;

import javafx.scene.control.TextField;

import javafx.scene.control.ToggleGroup;

import javafx.scene.layout.BorderPane;

import javafx.scene.layout.GridPane;

import javafx.stage.Stage;

public class ChineseFoodOrderingProgram extends Application {

public static void main(String[] args) {

launch(args);

}

@Override

public void start(Stage primaryStage) {

BorderPane borderPane = new BorderPane();

GridPane gridPane = new GridPane();

gridPane.setPadding(new Insets(10, 10, 10, 10));

gridPane.setHgap(10);

gridPane.setVgap(10);

Label nameLabel = new Label("Name:");

TextField nameTextField = new TextField();

gridPane.add(nameLabel, 0, 0);

gridPane.add(nameTextField, 1, 0);

Label addressLabel = new Label("Address:");

TextField addressTextField = new TextField();

gridPane.add(addressLabel, 0, 1);

gridPane.add(addressTextField, 1, 1);

Label phoneNumberLabel = new Label("Phone Number:");

TextField phoneNumberTextField = new TextField();

gridPane.add(phoneNumberLabel, 0, 2);

gridPane.add(phoneNumberTextField, 1, 2);

Label eventDateLabel = new Label("Date of Event:");

TextField eventDateTextField = new TextField();

gridPane.add(eventDateLabel, 0, 3);

gridPane.add(eventDateTextField, 1, 3);

Label eventLocationLabel = new Label("Location of Event:");

TextField eventLocationTextField = new TextField();

gridPane.add(eventLocationLabel, 0, 4);

gridPane.add(eventLocationTextField, 1, 4);

Label appetizersLabel = new Label("Appetizers:");

CheckBox springRollsCheckBox = new CheckBox("Spring Rolls");

CheckBox eggRollsCheckBox = new CheckBox("Egg Rolls");

CheckBox wontonsCheckBox = new CheckBox("Wontons");

gridPane.add(appetizersLabel, 0, 5);

gridPane.add(springRollsCheckBox, 1, 5);

gridPane.add(eggRollsCheckBox, 1, 6);

gridPane.add(wontonsCheckBox, 1, 7);

Label soupsLabel = new Label("S

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!