@@ -0,0 +1,720 @@
+package org.usergrid.launcher;%0A%0Aimport javax.swing.ImageIcon;%0Aimport javax.swing.JOptionPane;%0A%0Apublic class AppleUtils %7B%0A%0A%09public static void initMacApp() %7B%0A%09%09com.apple.eawt.Application macApp = com.apple.eawt.Application%0A%09%09%09%09.getApplication();%0A%09%09macApp.setDockIconImage(new ImageIcon(App.class%0A%09%09%09%09.getResource(%22dock_icon.png%22)).getImage());%0A%0A%09%09macApp.setAboutHandler(new com.apple.eawt.AboutHandler() %7B%0A%09%09%09@Override%0A%09%09%09public void handleAbout(com.apple.eawt.AppEvent.AboutEvent evt) %7B%0A%09%09%09%09JOptionPane%0A%09%09%09%09%09%09.showMessageDialog(%0A%09%09%09%09%09%09%09%09null,%0A%09%09%09%09%09%09%09%09%22Usergrid Standalone Server Launcher%5CnCopyright 2011 Ed Anuff & Usergrid%22,%0A%09%09%09%09%09%09%09%09%22About Usergrid Launcher%22,%0A%09%09%09%09%09%09%09%09JOptionPane.INFORMATION_MESSAGE);%0A%09%09%09%7D%0A%09%09%7D);%0A%0A%09%7D%0A%7D%0A

Move Apple-specific setup code into separate class