lipido / javafxwebview

A demonstration of how to create Java desktop applications with AngularJS and Bootstrap
Apache License 2.0
115 stars 28 forks source link

javafxwebview

A demonstration of how to create next-gen Java desktop applications with AngularJS and Bootstrap, by means of the JavaFX WebView component.

Requisites

  1. Download and install Java 8.
  2. Install Apache Maven.

Download, compile and run

Warning: Windows Users

There is a bug since Java 8 update 60 in Windows (http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/d4f8c9496683), where WebView is unable to load resources of the webpage if the project is delivered inside a JAR file. The workaround is to run the project in this way:

cd javafxwebview
mvn package
cd target
java -cp classes;dependency-jars\json-simple-1.1.1.jar
es.uvigo.ei.sing.webviewdemo.WebViewDemo