Skip to content

TeamDev-IP/Compose-BrowserView

Repository files navigation

Browser View for Compose Desktop

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.

app-screenshot

Scope of the project

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.

Prerequisites

  • JDK 11 or newer.

How to run

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

About

BrowserView implementation with Compose Desktop

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages