Alexander Kouznetsov and José Pereda describe how to transition a desktop OpenJFX application into a cross-platform application using Gluon in a new article. Although OpenJFX is not ready to run on mobile devices–and it does not provide tools for configuring, debugging, and deploying apps–Gluon provides frameworks and tools that enable you to use OpenJFX for mobile development.
In Part 1 of thearticle, the authors address how to create a Gluon application project in NetBeans and then run your application on Android, iOS, and desktop devices. Part 2 covers how to adjust the application for use on mobile devices by dealing with issues such as screen size, multiple windows, touch input versus mouse input, application lifecycle, and saving application state. Part 3 describes options for using Glisten, a Gluon subcomponent, to make the application look and feel modern.
Throughout the article, Kouznetsov and Pereda provide example code, caveats, and tips. To learn more, read thearticle.