+
+ // Mac OSX - specific properties (Mac insists that this is done as soon as possible)
+ if (System.getProperty("mrj.version") != null) {
+ System.setProperty("apple.laf.useScreenMenuBar", "true"); // menu at top of screen
+ System.setProperty("com.apple.mrj.application.apple.menu.about.name", PROGRAM_NAME);
+ }
+ // Loop over given arguments, if any