- Single View Project
- Single View Project on Gluon VM
- Multi View Project
- Multi view project with Fxml
- Multi view project with Glisten Afterburner
Which is better for multi language?
Using the Gluon plugin for your IDE is documented here.
There are several templates available to create a Gluon Mobile project with a few classes and resources.
The differences between each of them are:
Single View or Multi View: Gluon Mobile uses View
containers for each of the mobile app views. The template will create just one on a Single View project (for a simple case), or two on a Multiple View project (but extensible to any number of views). The latter will be the most common case of usual apps.
With or Without FXML: This is self-explanatory, you can select the template to use FXML (Scene Builder) or not.
With FXML and Glisten Afterburner. This is a particular use case of FXML based on the well-known Afterburner MVP framework that allows Dependency Injection, customized to work with Gluon Mobile views.
With or Without Gluon VM. The templates are defined for the JFXmobile plugin version 1.3.16+, except for one that allows Gluon VM using the plugin 2.0.30+. The differences are explained here.
To get started, I would select Multi view project with Fxml
, with Java 8, FXML (Afterburner is optional), and you can have i18n support using resource bundles, like in a regular JavaFX project.