Registry / testing / openjfx-monocle

openjfx-monocle

JSON →
library21.0.2javamavenunverified

Headless graphics driver for JavaFX, enabling testing without a display.

<dependency> <groupId>org.testfx</groupId> <artifactId>openjfx-monocle</artifactId> <version>21.0.2</version> </dependency>
INSTALL
IMPORT
SIG · OPENJFX-MONOCLE
O
openjfx-monocle
testingjavav21.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PlatformImpl
com.sun.javafx.application.PlatformImpl

Start JavaFX platform in headless mode

import com.sun.javafx.application.PlatformImpl; public class Example { public static void main(String[] args) { PlatformImpl.startup(() -> System.out.println("JavaFX platform started")); } }
Debug
Known issues
gotchaMonocle is designed for testing; not suitable for production GUI applications.
fix
Use a real graphics driver for production.
affects: *
Upgrade
Version history
21.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
openjfx-monocle — mvn dependency:get openjfx-monocle · libregistry