WebFX: Running JavaFX as web page
- by Bruno.Borges
This weekend I wanted to learn JavaFX, so I decided to code an
idea I had a few years ago when I first saw JavaFX Script. So I started coding a web browser that runs HTML with the awesome, HTML5 supported WebView. But this browser also offers one extra feature: it loads FXML files as if they were HTML. So instead of defining your web page with HTML and running with WebKit, you can define a web page with FXML+CSS+JS and run as a JavaFX application.
The project is called WebFX and already has a prototype on GitHub. I also uploaded a video
on YouTube demonstrating the idea.
What do you think about using JavaFX in the future for web pages, instead of HTML?