static { if (gov.nasa.worldwind.Configuration.isMacOS()) { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty( "com.apple.mrj.application.apple.menu.about.name", "World Wind Multi-Window Analysis"); System.setProperty("com.apple.mrj.application.growbox.intrudes", "false"); } }
public static void main(String[] args) { if (Configuration.isMacOS()) { System.setProperty("com.apple.mrj.application.apple.menu.about.name", "Hello World Wind"); } java.awt.EventQueue.invokeLater( new Runnable() { public void run() { // Create an AppFrame and immediately make it visible. As per Swing convention, this // is done within an invokeLater call so that it executes on an AWT thread. new AppFrame().setVisible(true); } }); }