devConfig = new DevicesConfig();
    public PatchEdit() {	// Load config file (JSynthLib.properties).	appConfig = new AppConfig();        boolean loadPrefsSuccessfull = appConfig.loadPrefs();	// define event actions	createActions();	// Set up the GUI.	JSLDesktop.getInstance();	JSLDesktop.setupInitialMenuBar(createToolBar());	if (MacUtils.isMac())	    initForMac(exitAction, prefsAction, aboutAction);	// Show dialog for the 1st invokation.        if (!loadPrefsSuccessfull)            ErrorMsg.reportError		("Error",		 "Unable to load user preferences. Defaults loaded.\n"		 + "If you've just installed or just upgraded this software, "		 + "this is normal.");	// popup menu for Library window, etc.	menuPatchPopup = createPopupMenu();	// set up Preference Dialog Window	prefsDialog = initPrefsDialog();        //Set up a silly little dialog we can pop up for the user to        //gawk at while we do time consuming work later on.        waitDialog = new WaitDialog(JSLDesktop.getSelectedWindow());        // Start pumping MIDI information from Input --> Output so the        // user can play a MIDI Keyboard and make pretty music	if (newMidiAPI) {	    if (appConfig.getMasterInEnable())		enableMasterIn();	} else {	    beginEcho();	}    }