The Java port of the webview project. It uses JNA under the hood to interface with the webview library, auto extrating the required dll/dylib/so libraries for your current system.
- Include the libary in your project (see the JitPack page).
- Copy and run the example in
Example.java
. - Profit!
MacOS requires that all UI code be executed from the first thread, which means you will need to launch Java with -XstartOnFirstThread
. This also means that the Webview AWT helper will NOT work at all.