This project is a Java-based GUI application that helps users calculate the nutritional macros (calories, protein, carbs, and fat) for selected items from popular fast food restaurants. Users can select items from the menus of Chick-fil-A, Panda Express, Taco Bell, and McDonald's, and the program will compute the total macros for the selected items.
- Interactive GUI with menus for different fast food chains: Chick-fil-A, Panda Express, Taco Bell, and McDonald's.
- Ability to select items from different categories such as breakfast, sides, entrees, etc.
- Calculates the total macros (calories, protein, carbs, fat) for selected items.
- Provides options to reset selections and recalculate macros.
- Main Class: fastFoodMacros.java - Contains the main GUI framework and functionality.
- Menu Items: Each restaurant has its own set of menu items implemented in separate classes (e.g., chikFilAMenuItems, pandaExpressMenuItems, etc.).
- CSV Data: Nutritional information is fetched from CSV files for each restaurant
Clone the repository:
git clone https://github.com/taehomoo/fastfood-macros.git
Compile and run the Java program:
javac fastFoodMacros.java
java fastFoodMacros
- Launch the application.
- From the home screen, select the desired restaurant (Chick-fil-A, Panda Express, Taco Bell, McDonald's).
- In the restaurant menu, choose food items by category (e.g., breakfast, entrees, sides).
- Click Submit to calculate the total macros for the selected items.
- Use the Reset button to clear selections and start over.
- Chik-Fil-A Nutrition Values found here
- Taco Bell Nutrition Values found here
- Panda Express Nutrition Values found here
- McDonalds Nutrition Values found here
- Java 8 or higher
- Java Swing for GUI components
This project is licensed under the MIT License. See the LICENSE file for details.