Skip to content

bahaa/jfx-transparent-window-titlebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaFX Transparent Title Bar on macOS

This is a demo on how to change JavaFX stage to make the title bar transparent in macOS so the window looks like modern macOS apps. The demo uses Java Foreign Function and Memory API to avoid writing any native code.

Warning

The demo uses reflection to access non-public JavaFX API to get the native handle of NSWindow. This code might break in future versions of JavaFX

Standard Stage Transparent Titlebar Stage

About

JavaFX transparent titlebar on macOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages