summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorBen Burwell <ben.burwell@trifecta.com>2016-11-20 04:34:08 -0500
committerBen Burwell <ben.burwell@trifecta.com>2016-11-20 04:34:08 -0500
commitcd7f72a250a1ea3d33a716e4877131215600098a (patch)
treefa88d6ca426be62343b45b6d894286848d74d496 /src/main/java
parentc384ad0e18129b9cb95b6015233d315ae105743c (diff)
Make a little more Mac friendly
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/benburwell/planes/gui/Main1090.java1
-rw-r--r--src/main/java/com/benburwell/planes/gui/MenuBarProvider.java2
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...");