WebFX: Running JavaFX as web page

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?

Comments:

And do you think that this will be better than javafx(fxml+css+java) or html+js+css?

Posted by guest on December 17, 2012 at 06:19 AM PST #

Very nice...keep it up
Cheers,
Gerrit

Posted by Gerrit Grunwald on December 17, 2012 at 07:20 AM PST #

hi,
No, no, I am not good it in these technologies, maybe you misunderstand me :), just asking you and I hope all the best. Javafx in the beginning was like this idea of WebFx, being a script language. So, i think it is interesting, and for example GWT(googlewebtoolkit) also would take an advantage from WebFx. thx Lehel

Posted by guest on December 17, 2012 at 11:36 PM PST #

Very nice video! I agree this would be great - this is what Web 2.0 should have been.

Posted by guest on September 11, 2013 at 06:25 AM PDT #

wow ...very cool idea... nashorn + fxml + server side cdi rest or websockets :))

Posted by guest on September 23, 2013 at 10:46 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About


Bruno has been having fun working with Java since 2000 and now helps Oracle on sharing the technology accross all Latin America. Also plays videogames, does trekking and loves beer.

Follow me on Twitter! @brunoborges

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today