When comparing JavaFX vs Gambas, the Slant community recommends Gambas for most people. In the question“What are the best languages to write a desktop Linux application in?” Gambas is ranked 1st while JavaFX is ranked 15th. The most important reason people chose Gambas is:
You can't find such a level of easy GUI development in any other language on the Linux platform.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro FX uses hardware acceleration and Java is fast, so good for 2D action games
Also has many built-in effects, like scale, rotate, color shifting, etc. The look and feel is simple to change later, as it uses Cascaded Style Sheets.
Pro Complete IDE for GUI development
You can't find such a level of easy GUI development in any other language on the Linux platform.
Pro Constantly updated
New features and bug fixes along with performance enhancements.
Pro Easy to get started for someone familiar with VB on Windows
Pro Complete application development suite
Supports GTK and QT along with web. Built in Form building with JIT speed. If you are developing an application targeting Linux only give this a look.
Pro Fast to write apps
Pro Git integration
Integration with GIT in IDE and easy to distribute apps as source package with export as .tar.gz.
Pro Enhanced with a new test suite
Pro Runs on Windows 10 WSL2 environment, reported successful compilation on MacOS
Cons
Con Does not automatically give you a pure platform look and feel
Cannot be used with non-JVM languages.
Con Not cross platform
Con The documentation is not the best
Con May have trouble interfacing to C code structs
Managed struct objects in Gambas makes it harder to use with C code structs.
Con Difficult to satisfy runtime requirements
Runtime requirements to run applications written in Gambas are not always easy to satisfy (that is, without installing the whole development environment).