Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.89 KB

README.md

File metadata and controls

46 lines (29 loc) · 1.89 KB

Gluon - Multi View using FXML

Gluon Applications are Java application written in JavaFX. These applications ensure that developers can create high performance, great looking, and cloud connected mobile apps from a single Java code base.

This sample contains a simple Gluon application which can be used to run, test and create a native application for any targeted device. The sample contains views represented as FXML and accessed in JavaFX using Controllers. For more information on FXML and why to use them, checkout this documentation.

Pre-requisites

Please checkout the prerequisites to run this application here.

Instructions

Note: The following are command line instructions. For IDE specific instructions please checkout IDE section of the Gluon documenation.

These application can run on the JVM on desktop platforms. To run the application, execute the following command:

./gradlew run

The same application can also run natively for on any targeted OS, including Android, iOS, Linux, Mac and Windows.

To create a native image, execute the following command:

./gradlew nativeBuild nativeRun

Note: The above commands are target-platform dependent and might change depending on the platform. For more details, please check GluonFX Gradle Tasks

Configuration

To configure the GluonFX plugin, please checkout the configuration documentation.

More information

Here are some helpful links: