Skip to content

Adir111/DesignPatternCourse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DesignPatternCourse

Ort Braude Course - Design Pattern Final Project

Running this project - On IntelliJ

Prerequisites

Make sure you have installed:

  • Java 23+ - JDK can be downloaded from here
  • JavaFX SDK 25+ - Can be downloaded from here

1. Configure the JDK (Java 23)

  1. Click on File --> Project Structure at the top left.
  2. Go to Project.
  3. Set:
    • Project SDK --> JDK 23
      • If not listed: Add SDK --> JDK --> select JDK 23 install folder.
    • Project language level - keep as SDK default (or choose 23).
  4. Click Apply.

2. Configure the module

  1. Click on File --> Project Structure at the top left.
  2. Go to Modules, and select the module.
  3. Set:
    • Module SDK --> Project SDK.
  4. Click Apply.

If no module exists:

  • Click + --> New Module --> Java.
  • At Module SDK pick: Use Project SDK.
  • Click Apply.

3. Add JavaFX SDK to the project

  1. Click on File --> Project Structure at the top left.
  2. Go to Modules, and select the module.
  3. Under the module Dependencies, click: + --> Library --> Java
  4. Select javafx lib folder, usually located at:
    C:\javafx-sdk-25.0.2\lib 
  5. Click Confirm, and make sure Scope is Compile.
  6. Click Apply.

4. Create Launch Configuration

  1. Click on Run --> Edit Configurations at the top left.

  2. Click on + --> Application configuration.

  3. For Main class, write Main.

  4. In VM options, add:

    --module-path C:\javafx-sdk-25.0.2\lib
    --add-modules javafx.controls,javafx.fxml

    Use quotes if the path contains spaces

    Note: If there is no VM options, click on Modify options --> Add VM options

Now, you can run the application.

About

Ort Braude Course - Design Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published