diff options
-rw-r--r-- | src/net/java/dev/typecast/app/editor/Main.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/dev/typecast/app/editor/Main.java b/src/net/java/dev/typecast/app/editor/Main.java index 7f79bb6..e0db0d7 100644 --- a/src/net/java/dev/typecast/app/editor/Main.java +++ b/src/net/java/dev/typecast/app/editor/Main.java @@ -76,6 +76,10 @@ public class Main { */ public Main() { + // Before loading Swing, set macOS-specific properties + System.setProperty("apple.awt.application.name", "Typecast"); + System.setProperty("apple.laf.useScreenMenuBar", "true"); + // Show a splash screen whilst we load up Splash splash = new Splash(); splash.setVisible(true); |