openjfx / samples

JavaFX samples to run with different options and build tools
BSD 3-Clause "New" or "Revised" License
594 stars 1.52k forks source link
documentation eclipse examples gradle ide intellij java java-11 java-12 javafx javafx-11 javafx-12 maven modular netbeans non-modular openjfx

OpenJFX Docs Samples

Description

This repository contains a collection of HelloFX samples. Each one is a very simple HelloWorld sample created with JavaFX that can be run with different options and build tools.

The related documentation for each sample can be found here.

For more information go to https://openjfx.io.

Content

HelloFX samples

Contains samples of a simple HelloFX class that can be run from command line, with or without build tools.

Build Tool Sample Description
None HelloFX project Simple HelloFX class to run on command line.
Maven HelloFX project Simple HelloFX class to run with Maven.
Gradle HelloFX project Simple HelloFX class to run with Gradle.

Command Line

Contains samples of modular and non-modular projects that can be run from command line, with or without build tools.

Modular samples

Build Tool Sample Description
None HelloFX project Modular project to run on command line.
Maven HelloFX project Modular project to run with Maven.
Gradle HelloFX project Modular project to run with Gradle.

Non-modular samples

Build Tool Sample Description
None HelloFX project Non-modular project to run on command line.
Maven HelloFX project Non-modular project to run with Maven.
Gradle HelloFX project Non-modular project to run with Gradle.

IDEs

Contains samples of modular and non-modular projects that can be run from an IDE, with or without build tools.

IntelliJ

Modular samples

Build Tool Sample Description
Java HelloFX project Modular project to run from IntelliJ.
Maven HelloFX project Modular project to run from IntelliJ, with Maven.
Gradle HelloFX project modular project to run from IntelliJ, with Gradle.

Non-modular samples

Build Tool Sample Description
Java HelloFX project Non-modular project to run from IntelliJ.
Maven HelloFX project Non-modular project to run from IntelliJ, with Maven.
Gradle HelloFX project Non-modular project to run from IntelliJ, with Gradle.

NetBeans

Modular samples

Build Tool Sample Description
Java HelloFX project Modular project to run from NetBeans.
Maven HelloFX project Modular project to run from NetBeans, with Maven.
Gradle HelloFX project Modular project to run from NetBeans, with Gradle.

Non-modular samples

Build Tool Sample Description
Java HelloFX project Non-modular project to run from NetBeans.
Maven HelloFX project Non-modular project to run from NetBeans, with Maven.
Gradle HelloFX project Non-modular project to run from NetBeans, with Gradle.

Eclipse

Modular samples

Build Tool Sample Description
Java HelloFX project Modular project to run from Eclipse.
Maven HelloFX project Modular project to run from Eclipse, with Maven.
Gradle HelloFX project Modular project to run from Eclipse, with Gradle.

Non-modular samples

Build Tool Sample Description
Java HelloFX project Non-modular project to run from Eclipse.
Maven HelloFX project Non-modular project to run from Eclipse, with Maven.
Gradle HelloFX project Non-modular project to run from Eclipse, with Gradle.

Visual Studio Code

Modular samples

Build Tool Sample Description
Maven HelloFX project Modular project to run from Visual Studio Code, with Maven.
Gradle HelloFX project Modular project to run from Visual Studio Code, with Gradle.

Non-modular samples

Build Tool Sample Description
Java HelloFX project Non-modular project to run from Visual Studio Code.
Maven HelloFX project Non-modular project to run from Visual Studio Code, with Maven.
Gradle HelloFX project Non-modular project to run from Visual Studio Code, with Gradle.

License

This project is licensed under BSD 3-Clause.

Contributing

This project welcomes all types of contributions and suggestions. We encourage you to report issues, create suggestions and submit pull requests.

Contributions can be submitted via pull requests, providing you have signed the Gluon Individual Contributor License Agreement (CLA).

Please go through the list of issues to make sure that you are not duplicating an issue.