Marios Pizzabar (Dat24v3, 2024) Grp E
The project uses flatlaf.jar a 3rd party library to provide a theme for our UI Due to this the .jar needs to be included in the editor.
the .jar is located in the main folder
- Settings: Navigate to Settings > PATH/CLASSPATH > Workspace.
- Classpaths Tab: In the window that appears, go to the CLASSPATHs tab.
- Add: Click on the New button to add a new classpath. A file dialogue will appear.
- Select .jar File: Browse to the location of your .jar file, select it, and click Open or OK to add it to your classpath.
- Apply and OK: Click Apply and then OK to save your changes.
- Navigate to
File
>Project Structure
, or use the shortcutCtrl+Alt+Shift+S
on Windows/Linux, orCmd+;
on macOS. This opens theProject Structure
dialog. - In the Project Structure dialog, select Libraries from the left-hand pane under Project Settings
- Click the + button above the middle pane and select Java from the dropdown menu. This action opens a file chooser dialog.
- Navigate to the location of your .jar file, select it, and click OK. The .jar file will now be added to your project's libraries.
The app is run through the PizzaOrderSystem.java