# webview_java **Repository Path**: shimanqiang/webview_java ## Basic Information - **Project Name**: webview_java - **Description**: No description available - **Primary Language**: Java - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-22 - **Last Updated**: 2024-07-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Webview The Java port of the [webview project](https://github.com/webview/webview). It uses JNA under the hood to interface with the webview library, auto extrating the required dll/dylib/so libraries for your current system.
browser

## How to use 1. Include the libary in your project (see the [JitPack page](https://jitpack.io/#Webview/webview_java)). 2. Copy and run the example in `Example.java`. 3. Profit! ## Examples [Example](https://github.com/webview/webview_java/blob/main/Example.java) [Swing/AWT Example](https://github.com/webview/webview_java/blob/main/SwingExample.java) ## MacOS 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. ## TODO Build our own DLLs and whatnot, the current ones are copied from the Kotlin port.