programming:java:javafx
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming:java:javafx [2017/09/26 23:14] – skipidar | programming:java:javafx [2023/11/01 07:31] (current) – ↷ Page moved from camunda:programming:java:javafx to programming:java:javafx skipidar | ||
---|---|---|---|
Line 37: | Line 37: | ||
===== Intellij Idea ===== | ===== Intellij Idea ===== | ||
+ | |||
+ | ==== JavaFX project ==== | ||
+ | |||
Building JavaFx apps. | Building JavaFx apps. | ||
Line 60: | Line 63: | ||
gradle run | gradle run | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== Gradle Project ==== | ||
+ | It is better to use a Gradle project, because Gradle can be used completely headless, on the CI. | ||
+ | And the result will be the same, when using the Gradle mode inside of the IDE. | ||
+ | |||
+ | Here is a gradle-stub-project for a JavaFX app | ||
+ | < | ||
+ | https:// | ||
+ | </ | ||
+ | |||
+ | It was created by building rebuilding an Idea project to a maven structure \\ | ||
+ | and then adding a build.gradle, | ||
+ | capable to build this project, \\ | ||
+ | and then reimporting the project to idea as a gradle (not as JavaFX project) | ||
+ | |||
+ | To use this project: | ||
+ | - pull the gradle project | ||
+ | - Go to FIle > Open > build.gradle | ||
+ | - Configure the project, by specifying the location of your Java SDK | ||
+ | |||
+ | |{{https:// | ||
+ | |||
+ | |||
+ | |||
+ | == Gradle Tools == | ||
+ | |||
+ | The available Gradle-Tasks are available in IDEA via **View > Tool Window > Gradle** | ||
+ | |||
+ | To update the project from build gradle use the sync button at the left part ofr the gradle tools | ||
+ | |||
+ | {{https:// | ||
+ | |||
+ | |||
+ | |||
+ | To reimport the project form build.gradle use **File > Invalidate Caches / Restart** | ||
+ | |||
+ | {{https:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
programming/java/javafx.1506467667.txt.gz · Last modified: (external edit)