This Java project, named CoffeeMachine, simulates the functionality of a coffee machine. It includes features such as managing water, beans, grinding, and waste disposal. The project is designed to be extensible, allowing users to customize and interact with different components of the coffee machine.
- Functionalities ⚙️
- Graphical user interface (GUI) ☕️
The CoffeeMachine class provides a set of functionalities for managing various components of the coffee machine. Here is a brief overview of the key features:
-
Water Container (WaterContainer): Manages the water level in the coffee machine.
-
Beans Container (BeansContainer): Handles the storage and retrieval of coffee beans.
-
Grind (Grind): Represents the grinding process for coffee beans.
-
Waste Tray (WasteTray): Manages the waste disposal functionality.
-
Logger (Logger): Logs important events and data to a MYSQL dataBase.
It provides a user-friendly interface to interact with the CoffeeMachine backend. Users can start and stop the coffee machine, choose the coffee type, adjust the grind level, add beans and water, and view the current status of the coffee machine components, as shown in this picture: