You can now compile your #JavaFX web apps to #WebAssembly with WebFX and even write them in #Kotlin thanks to its new #TeaVM support.
More info in our blog below, including live demos! 🔥
blog.webfx.dev/2025/11/17/te…
Holiday time! ⛱️🌞
We added a level selector to JArkanoid!
Discover all 32 levels of this other excellent #JavaFX game written by @hansolo_
Playable online at jarkanoid.webfx.dev
Thank you btw for the 300+ stars on the #WebFX GitHub repo! ⭐️⭐️⭐️ 🙏
Replying to @javasunsFX
The author said "it is just a fun project for practicing purpose with lots of unfinished things".
Not many devs go beyond standard layouts, not knowing javafx allows writing our own, a powerful feature for responsive design, as explained in the "Responsive" card on our website.
A user kindly shared his app that we host at meteo.webfx.dev
It showcases some cool #webfx features:
◆ Scene graph (no canvas)
◆ Charts
◆ Dual CSS (#javafx & web)
◆ I18n
◆ Json
◆ Web service
◆ Java service
◆ Local storage
◆ Sound
Repo listed in webfx-demos
Replying to @phidias51 @justinfagnani
For these 2 reasons (TeaVM cannot transpile JavaFX and WASM cannot access the DOM), it is not true that JavaFX compiles to WASM, at this time of writing.
Replying to @phidias51 @justinfagnani
Also, WASM has a serious limitation: it cannot access the DOM. There is a trick to give it a canvas, but that's it. So transpiling an entire JavaFX app into a pure WASM code (with no JS) that would map the JavaFX scene graph into DOM is impossible mission today.
Replying to @phidias51 @justinfagnani
The website you mentioned clearly states that JavaFX doesn't compile in the browser (actually it does now with WebFX). TeaVM cannot transpile all Java apps (same with GWT, J2CL, etc...). In particular, it cannot transpile any JavaFX app, because JavaFX is not TeaVM compatible.
Replying to @phidias51 @justinfagnani
It uses SnapKit, not JavaFX. As far as we know, WebFX is the only JavaFX transpiler. We may support WASM in the future, but saying JavaFX compiles to WASM is incorrect today.
SpaceFX update: 2 new weapons!
• Autofire Fury 🔥
• Rainbow Blaster 🌈
Can you now score 100,000?
spacefx.webfx.dev
All of this made possible only by the amazingly performant JavaFX game engine written by @hansolo_ and the power of GWT.
#Java #JavaFX #GWT #WebFX #WebDev
JavaFX in the browser
A space game originally written by Gerrit Grunwald in Java with the JavaFX framework and then compiled into a 150Kb JS webapp by WebFX (powered by GWT) https://github.com/webfx-project/webfx
SpaceFX (new version) is playable online at spacefx.webfx.dev
#JavaFX #WebFX #Java #GWT #WebDev #IndieGame #GameDev #WebGame #FreeGame #OpenSource
We've released a new version of SpaceFX! 🚀 A few updates to make the game even more challenging for true gamers. Check it out on our GitHub demo space 🕹
github.com/webfx-demos
We published a new version of SpaceFX!
We've released a new version of SpaceFX! 🚀 A few updates to make the game even more challenging for true gamers. Check it out on our GitHub demo space 🕹
github.com/webfx-demos
We published a new version of SpaceFX!
Replying to @gochev
The JavaFX controls supported so far are listed in our roadmap which is located in our README: github.com/webfx-project/web… (read the roadmap comments). We will add a demo link to these controls soon. For complex controls, we will first provide lighter alternatives in WebFX Extras.
Thank you JetBrains for the free license 🙏 With IDEA Ultimate profiler, we greatly improved the performance of our CLI.
- WebFX Platform: 105 java modules
- WebFX: 39
- WebFX Extras: 65
- WebFX Stack: 115
- Modality: 141
All 465 pom.xml & deps updated in 17s from src (800k+ LOC)
If you would like to follow the WebFX project more closely, you can now join our #news channel on Discord, as well as a #general chat for questions or support.
You can find the links in our README, which also includes an updated roadmap.
github.com/webfx-project/web…
Replying to @EvanderTor57903
WebFX has a good coverage of javafx-graphics, javafx-media, javafx-web, but middle coverage of javafx-controls. So far it supports Button, CheckBox, RadioButton, ContextMenu, Label, Hyperlink, TextField, TextArea, PasswordField, ProgressBar, Slider, ScrollPane, SplitPane, TabPane
WebFX now supports WebGL. This means that you can program a JavaFX canvas with a WebGL context in the browser.
Here is a live demo: cube.webfx.dev
#WebGL #WebFX #JavaFX
Yes, that's what fxlauncher & getdown do, and I guess also the solutions mentioned by @dlemmermann, they download the latest jar from an alternative app store (or your own server). I don't know if there are solutions that work also with native JavaFX apps compiled with Gluon.
By "modern app stores" I was referring to mainstream app stores. The alternative solutions you mentioned are great for private apps. If you target the large public however, you would prefer the mainstream app stores, but they don't let you force the update of your app... 🤷♂️
Replying to @SystemsInCode @orango_mango
Confining users to a specific platform doesn't seem a modern approach. JavaFX desktop apps can have instant updates via fxlauncher or getdown (we have one in prod still working like a charm today!). No equivalent with modern app stores yet => in-app msg seems the only option...🤷♂️

