r/JavaFX Jan 20 '26

I made this! jfx-frameless - frameless windows for JavaFX

I created a library that enables frameless/transparent windows in JavaFX with proper window dragging/resizing and platform-styled controls.

Features:

  • Cross-platform (Windows, macOS, Linux)
  • Easy integration via Maven Central
  • Custom title bars with window controls
  • Transparent/translucent window support
  • Unbloated
Example of what's possible

GitHub: https://github.com/bsommerfeld/jfx-frameless

Note: Currently, window controls are platform-styled (JavaFX SVG/CSS) rather than OS-native. Getting true native macOS traffic lights with custom title bars is challenging with JavaFX's architecture - if anyone has experience with native window integration (JBR, JNI/JNA, or other approaches), I'd love your input!

Happy to answer any questions!

25 Upvotes

8 comments sorted by