WebFX: Running JavaFX as web page

Posted by Bruno.Borges on Oracle Blogs See other posts from Oracle Blogs or by Bruno.Borges
Published on Mon, 17 Dec 2012 08:53:09 +0000 Indexed on 2012/12/17 11:09 UTC
Read the original article Hit count: 268

Filed under:

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?

© Oracle Blogs or respective owner

Related posts about /Java