Alexander Maryanovsky
12/26/2023, 8:13 PMapple.awt.application.appearance=system
to get system-theme (dark/light) window title on macOS:Alexander Maryanovsky
12/26/2023, 8:46 PMwindow.rootPane.putClientProperty("apple.awt.fullWindowContent", true)
window.rootPane.putClientProperty("apple.awt.transparentTitleBar", true)
to allow the app content to extend inside the title bar, but keeping the traffic light buttons.andylamax
12/26/2023, 11:58 PMAlexander Maryanovsky
12/27/2023, 9:41 AMMichael Olmsted
12/28/2023, 3:35 PMAlexander Maryanovsky
12/28/2023, 3:36 PMAlexander Maryanovsky
12/28/2023, 3:37 PMAdam Brown
01/05/2024, 3:13 AMAdam Brown
01/05/2024, 3:16 AMAdam Brown
01/05/2024, 3:16 AMval osThemeDetector = OsThemeDetector.getDetector()
if (osThemeDetector.isDark) {
LafManager.install(DarculaTheme())
} else {
LafManager.install(IntelliJTheme())
}