Re:JDeploy – Deploy desktop Java apps as native bundles on M...
by invalidname on Tuesday February 15, 2022 @02:43AM
(#30343801)
Did you actually ship the app or is it something small scale?
The pain of JavaFX becomes apparent at deployment time. Installing in a small closed ecosystem is fine. Mass market with all the variance. Ugh.
A single main dependency (org.openjfx/javafx-control) and a plugin (org.openjfx/javafx-maven-plugin) and you're off to the races. I don't install JFX into the JDK at all (not even sure, honestly, if that's still a thing).
I have more problems with JDK 9 modules (which modern JavaFX seems to support, but good luck with much of anything else of size).
Since I am pretty much awful at GUI programming, I've made a lot more progress with FX on my home projects than Swing. It's no panacea, but it's been working for me.