All Projects → udevbe → wayland-javafx

udevbe / wayland-javafx

Licence: AGPL-3.0 license
wayland backend for javafx

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to wayland-javafx

wayland
Golang Wayland
Stars: ✭ 51 (+155%)
Mutual labels:  wayland, wayland-client
hello-wayland
A hello world Wayland client, 2018 edition
Stars: ✭ 95 (+375%)
Mutual labels:  wayland, wayland-client
go-wayland
Wayland Client in Pure Go
Stars: ✭ 38 (+90%)
Mutual labels:  wayland, wayland-client
Dev Tools
The most popular software developer tools in one app
Stars: ✭ 221 (+1005%)
Mutual labels:  javafx
Vworkflows
Flow Visualization Library for JavaFX and VRL-Studio
Stars: ✭ 226 (+1030%)
Mutual labels:  javafx
dbfx
This is a free, cross platform, open source database management tool based on JavaFX and vertx SQL client.
Stars: ✭ 63 (+215%)
Mutual labels:  javafx
client
Stream-Pi Client
Stars: ✭ 222 (+1010%)
Mutual labels:  javafx
Javafx Gradle Plugin
Gradle plugin that makes it easy to work with JavaFX 11+
Stars: ✭ 214 (+970%)
Mutual labels:  javafx
MythRedisClient
🏎️使用JavaFx做的Redis客户端,资源消耗略大 200-300m,想复用核心代码做成web端,然后浏览器操作,开发起来和跑起来也快
Stars: ✭ 26 (+30%)
Mutual labels:  javafx
Dluid
Deep learning user interface designer
Stars: ✭ 27 (+35%)
Mutual labels:  javafx
Fxtutorials
A collection of JavaFX tutorials from my channel on YouTube
Stars: ✭ 252 (+1160%)
Mutual labels:  javafx
Gmapsfx
Java API for using Google Maps within a JavaFX application.
Stars: ✭ 233 (+1065%)
Mutual labels:  javafx
JMemoryBuddy
No description or website provided.
Stars: ✭ 44 (+120%)
Mutual labels:  javafx
Dashboardfx
JavaFx Dashboard
Stars: ✭ 219 (+995%)
Mutual labels:  javafx
ego
Alter Ego: run Linux desktop applications under a different local user
Stars: ✭ 90 (+350%)
Mutual labels:  wayland
Javafx Maven Plugin
Maven plugin to run JavaFX 11+ applications
Stars: ✭ 213 (+965%)
Mutual labels:  javafx
GitFx
Gitfx Java FX application
Stars: ✭ 18 (-10%)
Mutual labels:  javafx
Recaf
The modern Java bytecode editor
Stars: ✭ 3,374 (+16770%)
Mutual labels:  javafx
Storagesystem
🗒️ Personal Stock Control System
Stars: ✭ 236 (+1080%)
Mutual labels:  javafx
mywayland
🍨 Wlroots and friends for KISS
Stars: ✭ 25 (+25%)
Mutual labels:  wayland

wayland-javafx

A Wayland backend for JavaFX.

This is a work in progress. Currently software rendering, mouse & keyboard works (touch too but untested).

TODO:

  • output using hw rendering (via wayland drm buffers).
  • Rewrite & cleanup code to production quality standards.
  • Remove all 3rd party jdk libraries.
  • Include in openjfx as monocle back-end?
  • Create a non monocle, desktop enabled wayland back-end.

DONE:

  • output using sw rendering (via wayland shared memory buffers)
  • input handling through wayland's input protocols (keyboard+pointer+touch)

This library will make use of libraries not present in a standard jdk/jfx install as to get things up and running as quickly as possible.

The primary goal is to be able to use JavaFX as a pure client side widget toolkit capable to run on any Wayland compositor.

Initial effort will focus on creating a Wayland implementation for the JavaFX Monocle back-end. This back-end is meant for the embedded, fullscreen, single application use case.

Secondary effort is to create JavaFX Wayland back-end for general desktop usage.

#Running

In case you've decided you're crazy enough to take this ugly poc for a spin. Here's how:

  • Make sure you have a javafx version with monocle support available. This will most likely mean you'll have to build it from source (eglx86 profile for non embedded usage). See https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-CrossBuilds

  • Edit the pom.xml of the project and make sure <jfxrt.path>/home/zubzub/hg/openjfx8-devrt/build/sdk/rt/lib/ext/jfxrt.jar</jfxrt.path>matches the jfxrt.jar of your monacle enabled and installed jfx library.

  • Build the project. You will also need to build the latest SNAPSHOT versions of jaccall & wayland-java-bindings.

  • Copy the ./target/wayland-javafx-1.0.0-SNAPSHOT.jar to your local jdk installation's ext folder; eg. /usr/lib/jvm/oracle-jdk-bin-1.8/jre/lib/ext/

  • Run your javafx application; eg. unset DISPLAY && java -Dglass.platform=Monocle -Dmonocle.platform=Wayland -jar Ensemble8.jar

  • Make sure you delete wayland-javafx-1.0.0-SNAPSHOT.jar from your jdk installation once you're done as it might introduce some unwanted behavior in other programs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].