frame.setIconImage(frame.getToolkit().getImage("data/images/megamek-icon.gif"));
frame.setIconImage(frame.getToolkit().getImage("data/images/misc/megamek-icon.gif"));
    public MegaMek() {        this.frame = new Frame("MegaMek"); //$NON-NLS-1$        frame.addWindowListener(new WindowAdapter() {            public void windowClosing(WindowEvent e) {                quit();            }        });        frame.setBackground(SystemColor.menu);        frame.setForeground(SystemColor.menuText);        frame.setIconImage(frame.getToolkit().getImage("data/images/megamek-icon.gif")); //$NON-NLS-1$        CommonMenuBar menuBar = new CommonMenuBar();        menuBar.addActionListener(this);        frame.setMenuBar(menuBar);        showMainMenu();        // echo some useful stuff        System.out.println("Starting MegaMek v" + VERSION + " ..."); //$NON-NLS-1$ //$NON-NLS-2$        System.out.println("Timestamp " + new Date(TIMESTAMP).toString()); //$NON-NLS-1$        System.out.println("Java vendor " + System.getProperty("java.vendor")); //$NON-NLS-1$ //$NON-NLS-2$        System.out.println("Java version " + System.getProperty("java.version")); //$NON-NLS-1$ //$NON-NLS-2$        System.out.println(                           "Platform " //$NON-NLS-1$                           + System.getProperty("os.name") //$NON-NLS-1$                           + " " //$NON-NLS-1$                           + System.getProperty("os.version") //$NON-NLS-1$                           + " (" //$NON-NLS-1$                           + System.getProperty("os.arch") //$NON-NLS-1$                           + ")"); //$NON-NLS-1$        /*/ BEGIN DEBUG memory        if ( System.getProperties().getProperty( "java.version" ).charAt(2)             >= '4' ) {            long maxMemory = Runtime.getRuntime().maxMemory() / 1024;            System.out.println("Total memory available to MegaMek: "                                + MegaMek.commafy.format(maxMemory) + " kB");        }        //  END  DEBUG memory */        System.out.println();        // set visible on middle of screen        Dimension screenSize = frame.getToolkit().getScreenSize();        frame.pack();        frame.setLocation(            screenSize.width / 2 - frame.getSize().width / 2,            screenSize.height / 2 - frame.getSize().height / 2);        // Apparently, the MSJDK doesn't handle the menu bar very well,        //  so we'll try this hack.        if (System.getProperty("java.vendor").indexOf("Microsoft") != -1) { //$NON-NLS-1$ //$NON-NLS-2$            Dimension windowSize = frame.getSize();            windowSize.height += 25;            frame.setSize(windowSize);        }        //init the cache        MechSummaryCache.getInstance();        // Show the window.        frame.setVisible(true);        // tell the user about the readme...        if (true == GUIPreferences.getInstance().getNagForReadme()) {            ConfirmDialog confirm = new ConfirmDialog(frame,                     Messages.getString("MegaMek.welcome.title") + VERSION, //$NON-NLS-1$                     Messages.getString("MegaMek.welcome.message"), //$NON-NLS-1$                    true);            confirm.show();            if (!confirm.getShowAgain()) {                GUIPreferences.getInstance().setNagForReadme(false);            };            if (confirm.getAnswer()) {                showHelp();            };        };    }