mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 22:40:53 +03:00
SystemInfo.isMacFullWindowContentSupported now includes isMacOS; updated comments regarding system property apple.awt.application.appearance
This commit is contained in:
@@ -41,7 +41,8 @@ public class FlatLafThemeEditor
|
||||
// - "system": use current macOS appearance (light or dark)
|
||||
// - "NSAppearanceNameAqua": use light appearance
|
||||
// - "NSAppearanceNameDarkAqua": use dark appearance
|
||||
// (needs to be set on main thread; setting it on AWT thread does not work)
|
||||
// (must be set on main thread and before AWT/Swing is initialized;
|
||||
// setting it on AWT thread does not work)
|
||||
System.setProperty( "apple.awt.application.appearance", "system" );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user