diff options
-rw-r--r-- | src/main/java/com/benburwell/planes/gui/Main1090.java | 1 | ||||
-rw-r--r-- | src/main/java/com/benburwell/planes/gui/MenuBarProvider.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/benburwell/planes/gui/Main1090.java b/src/main/java/com/benburwell/planes/gui/Main1090.java index 71105a9..fb2bdc2 100644 --- a/src/main/java/com/benburwell/planes/gui/Main1090.java +++ b/src/main/java/com/benburwell/planes/gui/Main1090.java @@ -125,6 +125,7 @@ public class Main1090 extends JFrame { } public static void main(String[] args) { + System.setProperty("apple.laf.useScreenMenuBar", "true"); EventQueue.invokeLater(() -> { Main1090 app = new Main1090(); app.setVisible(true); diff --git a/src/main/java/com/benburwell/planes/gui/MenuBarProvider.java b/src/main/java/com/benburwell/planes/gui/MenuBarProvider.java index 7260fd1..d54f09b 100644 --- a/src/main/java/com/benburwell/planes/gui/MenuBarProvider.java +++ b/src/main/java/com/benburwell/planes/gui/MenuBarProvider.java @@ -10,7 +10,7 @@ import java.awt.event.ActionEvent; */ public class MenuBarProvider { private JMenuBar menubar = new JMenuBar(); - private JMenu file = new JMenu("1090"); + private JMenu file = new JMenu("File"); private JMenuItem fileQuitMenuItem = new JMenuItem("Quit"); private JMenu data = new JMenu("Data Source"); private JMenuItem dataConnectItem = new JMenuItem("Connect to Remote..."); |