1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

MacOSX: switched to appbundler for building distribution files (Haavar Valeur)

See #1665
This commit is contained in:
Cristian Maglie
2014-05-29 12:10:09 +02:00
parent 777692a0f3
commit ab1ee51d68
2 changed files with 62 additions and 35 deletions

View File

@ -52,6 +52,11 @@ public class Platform extends processing.app.Platform {
UIManager.put("Component.visualMargin", new Insets(1, 1, 1, 1));
}
public Platform() {
// For more information see:
// http://mail.openjdk.java.net/pipermail/macosx-port-dev/2013-January/005261.html
Toolkit.getDefaultToolkit();
}
public void init(Base base) {
System.setProperty("apple.laf.useScreenMenuBar", "true");