An open API service indexing awesome lists of open source software.

https://github.com/hilarionengarejr/pizza-ordering-app

Implementation of a GUI using JFrame to order pizza and place toppings.
https://github.com/hilarionengarejr/pizza-ordering-app

desktop-application gui java jframe

Last synced: 25 days ago
JSON representation

Implementation of a GUI using JFrame to order pizza and place toppings.

Awesome Lists containing this project

README

        

# PizzaOrderingApp

The Pizza Order Application is a Java desktop application that allows users to place pizza orders with customizable toppings. This application provides a graphical user interface (GUI) for a seamless ordering experience.

## Features

- Select from four pizza types: Margarita, Pepperoni, Hawaiian, and Three Cheese.
- Choose from three sizes: Small, Medium, and Large.
- Optional toppings: Olive, Corn, Chicken, and Tomato.
- Calculate the total price of the order based on the selected pizza type, size, and toppings.
- Generate an order receipt with detailed information, including prices and calories.
- Supports ordering only one pizza at a time.

## Technologies Used

- Java
- Java Swing (GUI framework)

## Getting Started

To run the Pizza Order Application locally, follow these steps:

1. Clone the repository:

```shell
git clone https://github.com/your-username/pizza-order-application.git
```

2. Open the project in your preferred Java IDE.

3. Build and compile the project.

4. Run the `PizzaOrderApp` class to start the application.

## Usage

1. Launch the Pizza Order Application.

2. Select one of the four pizza types: Margarita, Pepperoni, Hawaiian, or Three Cheese.

3. Choose the size of the pizza: Small, Medium, or Large.

4. (Optional) Select toppings by checking the corresponding checkboxes for Olive, Corn, Chicken, and Tomato.

5. Click the "Add" button to add the selected pizza to the order.

6. Once you have added the desired pizza, click the "Order" button to generate the order receipt.

7. The order receipt will display the total price of the pizza and the selected toppings (if any), along with their respective prices.

8. The order receipt will also include the total calorie count of the pizza and the toppings (if any).

9. Enjoy your pizza!

## Contributing

Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.