Skip to content
/ webfx Public
forked from webfx-project/webfx

A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure HTML5/JS.

License

Notifications You must be signed in to change notification settings

TOGLK/webfx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebFX

WebFX uses GWT to compile your Java code into JavaScript. Normally GWT can only compile the java code (your application logic) and not the JavaFX code (your application UI). WebFX solves this problem by providing a web port of JavaFX (the webfx-kit module) that can be compiled by GWT together with your application code.

WebFX also provides (via the webfx-platform module) some cross-platform APIs (ex: json, timers, websockets, web workers, etc...) that work both in the JVM and the browser.

You will have 2 builds of your application. A pure JavaFX build that you will use for the development, testing and debugging in your preferred Java IDE. And a web build resulting from the compilation of your application code together with the WebFX code by GWT.

Live demos

Basics

Custom controls

Games

Heavy computation

(Web workers & WebAssembly)

Status

The project is still in incubation phase. We are currently building the website, and the next step will be a guide to get you started.

You can't use the project before these steps are completed, but don't hesitate to star the repository to let us know you are potentially interested in this technology for your future projects.

Your questions and comments are also very welcome in this discussion thread.

About

A JavaFX application transpiler. Write your Web Application in JavaFX and WebFX will transpile it in pure HTML5/JS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 91.4%
  • JavaScript 8.4%
  • Other 0.2%