This project is a proof of concept, a first step towards a full-fledged Compose Desktop support in JxBrowser.
JxBrowser is a cross-platform Chromium-based web view control for JVM languages. You can learn more about it on the https://teamdev.com/jxbrowser.
We have implemented a very basic set of functionality:
-
The off-screen rendering mode.
In this mode, Chromium renders the content using GPU, and we copy the pixels to RAM, and then to Compose. This is different from the hardware-accelerated mode.
-
Basic input forwarding.
You can use mouse and keyboard, but touches and drag-and-drop don't are not implemented.
- JDK 11 or newer.
Get a 30-day free trial license for JxBrowser by this link. The license will arrive in your inbox in an instant.
Then execute this command from the solution directory:
./gradlew run -Djxbrowser.license.key=<your license key>
The information in this repository is provided on the following terms: https://www.teamdev.com/terms-and-privacy