Feasibility Question

Stephen Desofi sdesofi at icloud.com
Tue Jan 8 16:37:27 UTC 2019

I’ve been using FX with Kotlin.   I do a lot with FX Canvas, and Kotlin compiles to JavaScript as well.     Without too much craziness I can get my FX canvas app  to work as a JS Canvas app.

 Unfortunately I can ONLY use FX Canvas and I have to leave behind all my Widgets and controls and rewrite them with DOM equivalents (Button, Label, Checkbox, etc)

Now if only I could have all those components made available as FX Canvas components.    ....then I’d be able to code in FX and run it on the web.   Hmmm.

Too much work?   What about changing the low level renderer of the existing components to render on an abstract canvas using canvas API.  Would that work?

I know this would be a big project but making FX available on the web would be a killer app and I actually think this would be the best way to do it compared to all the other solutions I’ve seen.

Any thoughts?

Sent from my iPhone

More information about the openjfx-dev mailing list