r/JavaFX • u/gufranthakur • Sep 01 '26
Discussion What is the future of JavaFX looking like?
Been developing in JavaFX for hobby projects for a while and absolutely loving it. However I am a bit worried about JavaFX's future and adoption
- The official OpenJFX website has some horribly outdated info. It's testimonials talk about Java 11 being released, and the docs and getting started are all on Java 11
- The community projects on the website never change. Most are not maintained and are very old
- The official documentation looks horrible. It uses old screenshots, and even old/outdated practices
- Although the development seems to be going good
- How is Gluon doing as an organisation? They provide commercial support for other companies using JavaFX, how successful is that going for them? How many companies actually use the Gluon License
- How often is JavaFX used in commercial/business applications?
I am mostly worried about Gluon. I am grateful to them for their contributions to the JavaFX technology, but I wonder how it is looking for them in JavaFX in the long run.
Desktop applications as a whole have been seeing declining usage. Electron ate JavaFX, Avalonia, QT's breakfast. (QT still going strong though)
Also how will the Java verified portfolio help JavaFX??
I genuinely wish best for the JavaFX and hope it continues to evolve
8
u/OddEstimate1627 Sep 01 '26
IMO there has been quite a bit of good development lately. Most of the features I've been wishing for have already been delivered (mainly headless, platform access, title bars, good default styling via AtlantaFX, and a better deployment story via community projects).
There are still a few things I'd like to see, but overall I like the direction is going. The Oracle verified portfolio should help as well.
While Gluon is an important contributor, the only thing that really depends on them is the mobile support. There haven't been major updates in a while, but the stack still works, and Gluon keeps it running while they pivot to Zero and Leyden with an open world assumption. It's debatable whether this is really going to be better than to continue building on GraalVM, but there is no doubt that the current custom stack is hard to maintain, and that devs have a hard time with the closed world model.
AOT on the desktop is better supported and does not require the Gluon stack.
15
u/ahorsewhithnoname Sep 01 '26
JavaFX is still used in enterprise environments and will be continued to be used and supported. But these applications are nothing to show off in a community projects section.
5
u/Maran23 Sep 03 '26
You should check 'the real' community site for JavaFX, that is: https://www.jfx-central.com/
There a lot of interesting ideas in this thread, but it mostly boils down to: If you want to improve something, do it. I have made >80 contributions to JavaFX (in my freetime), reviewed many more PRs and open sourced a library to easily have pixel perfect SVG icons.
And contributions are welcome, reviews are also as important and welcome (we often do not get feedback at all, only if something does not work).
6
u/Fuzzy-System8568 Sep 03 '26
I stand by the top things that need doing:
We start to chip away at that stuff? And JavaFX could come out as a very solid choice for desktop apps.
4
u/starbuxman Sep 04 '26
Hah funny u say that: I just did two videos on it YouTube.com/@coffeesoftware in two parts:
- how to integrate javafx + spring boot + native images
- how to use spring security to do PKCE to do OAuth authentication in a desktop client
Idk how often desktop apps as a category make sense these days, but if ur gonna build one I think javafx should be the front runner choice
I like javafx and would love for all of us to try to claw back the electron story. electron apps r an abomination. esp. since most of them r just web views that load web pages written in react
javafx can produce beautiful and lightning fast desktop applications. It deserves to win.
1
u/xdsswar Sep 01 '26
I have a toolkit that is kind like electron for java , Its already working, I just need to take it out , complex as fuck to build due to the chromium size and crap, but I got nice ui and low mem usage
2
u/joemwangi Sep 06 '26
It still needs a native surface draw.