🖥️ High-performance display telemetry for the FastJava ecosystem. Monitor resolution, DPI scaling, refresh rates, and orientation changes with zero latency.
FastDisplay is the dedicated display monitoring module of the FastJava ecosystem. It provides real-time events for display changes, allowing your Java application to respond instantly to resolution shifts or DPI scaling updates.
# Clone the repository
git clone https://github.com/andrestubbe/FastDisplay.git
# Build the native bridge
cd FastDisplay
.\compile.bat
# Launch the DisplayDemo
.\run-demo.bat- 📊 Real-Time Telemetry: Monitor Resolution, DPI, and Refresh Rate.
- 🔔 Event Driven: Native callbacks for
WM_DISPLAYCHANGEandWM_DPICHANGED. - 🖥️ Multi-Monitor Support: Detect and track attributes across multiple displays.
- 🌈 EDID & HDR Capabilities (v0.2.0): Hardware-level parsing of EDID, DXGI HDR detection, and ICC color profile extraction via
FastDisplayUtils. - 🪟 Virtual Desktops (v0.2.0): Integration with Windows Task View / Virtual Desktops through the
FastDesktopsister module. - ⏱️ Zero Overhead: Lightweight JNI layer with no polling required.
Add the JitPack repository and the dependencies to your pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastdisplay</artifactId>
<version>v0.2.0</version>
</dependency>
<dependency>
<groupId>com.github.andrestubbe</groupId>
<artifactId>fastcore</artifactId>
<version>v0.2.0</version>
</dependency>
</dependencies>repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:fastdisplay:v0.2.0'
implementation 'com.github.andrestubbe:fastcore:v0.2.0'
}Download the latest JARs directly to add them to your classpath:
- 📦 fastdisplay-v0.2.0.jar (The Core Library)
- ⚙️ fastcore-v0.2.0.jar (The Mandatory Native Loader)
- COMPILE.md: Full compilation guide (MSVC C++17 build chain + JNI Setup).
- REFERENCE.md: Full API descriptions, border configurations, and codepoint index.
- PHILOSOPHY.md: The engineering rationale for zero-allocation performance.
- ROADMAP.md: Future milestones and planned features.
| Platform | Status |
|---|---|
| Windows 10/11 | ✅ Fully Supported |
| Linux | 🔗 Planned |
| macOS | 🔗 Planned |
MIT License See LICENSE file for details.
- FastCore - Unified JNI loader and platform abstraction
- FastANSI - Binary file indexing with mmap support
- FastDWM - Prefix Trie, N-Gram index, and Ranking engine
Part of the FastJava Ecosystem — Making the JVM faster. Small package. Maximum speed. Zero bloat. 🚀📋
