@Override
    public void init() {
        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        //Create and display the applet
        try {
            java.awt.EventQueue.invokeAndWait(new Runnable() {
                @Override
                public void run() {
                    initComponents();
                    appletCreated();
                    copyLibraries();
                    createProfile();
                    String[] mineCmds = runMinecraft();
                    remExtras();
                    new MineExec(mineCmds[0], logWindow, nbDebug, mineCmds[1], mineCmds[2], prepareConfigs()).execute();
                    if ((Integer)(nbDebug[1]) == 2) {
                        minecraftClosed(mineCmds[2]);
                    }
                }
            }); 
        } catch (Exception ex) {
           ex.printStackTrace();
           logWindow.setText(logWindow.getText() + "EXCEPTION: \n" + ExceptionUtils.getStackTrace(ex) + "\n\n");
        }
    }