resetPortComboBoxes();
cbMC.setEnabled(cbxEnMC.isSelected()); if (PatchEdit.newMidiAPI) { setComboBox(cbOut, PatchEdit.appConfig.getInitPortOut()); setComboBox(cbIn,  PatchEdit.appConfig.getInitPortIn()); setComboBox(cbMC,  PatchEdit.appConfig.getMasterController()); } else { resetPortComboBoxes(); }
    public void init() {	if (!PatchEdit.newMidiAPI)	    setComboBox(cbDriver, PatchEdit.appConfig.getMidiPlatform());	cbxEnMidi.setSelected(appConfig.getMidiEnable());	cbxEnMC.setSelected(appConfig.getMasterInEnable());	resetPortComboBoxes();	//midiDriverSelected((MidiWrapper) cbDriver.getSelectedItem());    }