Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
GNU General Public License v2.0
1.26k
stars
192
forks
source link
How is the full screen title bar hidden in the MacOS system implemented? It seems to be related to runtime, please see the picture. This issue has been bothering me for a long time #327
Case 1: When I use bundle running, after full screen:
Case 2: When I use this runtime, the title bar becomes floating after full screen display:
I think the title bar implementation of case1 is currently the most perfect for non native applications. What should I do if I want to use it in my own Java GUI application?
@lwlha custom title bar is controlled via JBR API, I explained how to build and use it in anouther thread (#185). Please see com.jetbrains.WindowDecorations.CustomTitleBar class and related javadoc.
Case 1: When I use bundle running, after full screen:![WechatIMG119](https://github.com/JetBrains/JetBrainsRuntime/assets/33903129/83f70cea-edf1-45c1-8fcf-7019b8c4e3e3)
Case 2: When I use this runtime, the title bar becomes floating after full screen display:
I think the title bar implementation of case1 is currently the most perfect for non native applications. What should I do if I want to use it in my own Java GUI application?