| Author | DaveJarvis <email> |
|---|---|
| Date | 2021-10-02 20:31:00 GMT-0700 |
| Commit | 5fb45a134d2af8c39260e904ce868291e387cfcf |
| Parent | 8574de1 |
| Delta | 16 lines added, 1 line removed, 15-line increase |
| The project is imported into the IDE. | ||
| +### Configure | ||
| + | ||
| +Before running the application, add the permissive access option as follows: | ||
| + | ||
| +1. Open **Launcher.java**. | ||
| +1. Click the arrow beside the `Launcher` class. | ||
| +1. Click **Modify Run Configuration**. | ||
| +1. Click **Modify options**. | ||
| +1. Click **Add VM options**. | ||
| +1. Set **VM options** to: `--illegal-access=permit` | ||
| +1. Click **OK**. | ||
| + | ||
| +The run settings are configured. | ||
| + | ||
| ### Run | ||
| javafx { | ||
| - version = "17" | ||
| + version = "16" | ||
| modules = ['javafx.controls', 'javafx.swing'] | ||
| configuration = 'compileOnly' |
| java \ | ||
| + --illegal-access=permit \ | ||
| --add-modules javafx.swing,javafx.controls,javafx.fxml,javafx.media,javafx.web,javafx.base,javafx.graphics \ | ||
| --add-opens=javafx.controls/javafx.scene.control=ALL-UNNAMED \ |