Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write in java a program to design a graphical user Interface for Burger restaurant. Your program should allow the customer to make an order using

Write in java a program to design a graphical user Interface for Burger restaurant. Your program should allow the customer to make an order using a button called Make an order. The customer can select the order from a drop down list (at least must have 5 products in the menu).

For example, fish burger, chicken burger, Classic burger, Double burger, fries

The customer can customise their order such as (no Onions, with cheese, With Mainonese,

no ketchup, no lettuce, With tomatoes, With pickle)

The customer can select the size of the order such as (regular, large). The customer can see the details of his order with the price before clicking the button Make Payment.

The customer should insert the total amount of the order in the input box then click on Make Payment. The program should check if the amount of the total price is equal to the input number the customer entered, then the program can show a message payment successfully done and your order is under process, otherwise the program should ask the user to enter again the total price of his order

The program should follow : Encapsulation, Inheritance, Polymorphism

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions