WebFX (@WebFXProject) header
WebFX (@WebFXProject) profile picture

A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure JS. https://teapawt.net/t.co/65qCUHB0xj

Joined September 2022
Photo by WebFX (@WebFXProject)Photo by WebFX (@WebFXProject)Photo by WebFX (@WebFXProject)Photo by WebFX (@WebFXProject)Photo by WebFX (@WebFXProject)Photo by WebFX (@WebFXProject)Photo by WebFX (@WebFXProject)
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! ⭐️⭐️⭐️ 🙏
1
2
2
271
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.
2
56
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
1
3
18
791
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.
72
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.
62
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.
64
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.
1
38
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
4
1
13
1,082
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
3
1
11
2,180
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
1
2
10
2,418
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.
1
1
3
74
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)
1
3
11
781
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…
2
7
1
19
1,197
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
139
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
5
12
3
55
3,357
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.
94
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... 🤷‍♂️
1
1
54
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...🤷‍♂️
2
34