Need Answer Following Question Question Design Application Sublime Sandwich Shop User Mak Q37170485

I need to answer the following question below.

Question:

Design an application for the Sublime Sandwich Shop. The usermakes sandwich order choices from list boxes, and the applicationdisplays the price. The user can choose from three main sandwichingredients of your choice at three different prices. The user alsocan choose from three different bread types from a list of at leastthree options.

Current Code:

8 import javax.swing.*;
9 import java.awt.*;
10 import java.awt.event.*;
11
12 public class JSandwich extends JFrame implementsActionListener
13 {
14 FlowLayout flow = new FlowLayout();
15 private String[] sandwichChoice = {“Chicken, Beef,Veggie”};
16 private String[] breadChoice = {“Whole Wheat, Asiago, SixGrain”};
17 private String[] price = {“6.99”, “7.99”, “5.99”};
18 JComboBox<String>

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.