6e5963621d46 — Laurens Holst 7 years ago
App: Set apple.laf.useScreenMenuBar in code.

So that it is always set, also when running the jar standalone.
1 files changed, 1 insertions(+), 0 deletions(-)

M src/main/java/nl/grauw/gaia/tool/App.java
M src/main/java/nl/grauw/gaia/tool/App.java +1 -0
@@ 72,6 72,7 @@ public class App {
 	}
 	
 	public static void installLookAndFeel() {
+		System.setProperty("apple.laf.useScreenMenuBar", "true");
 		try {
 			String preferredPLAF = "Mac OS X".equals(System.getProperty("os.name")) ? "Aqua" : "Nimbus";
 		    for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {