cb4.setSelectedIndex (appConfig.getFaderPort());
if (MidiUtil.isInputAvailable()) cb4.setSelectedIndex (appConfig.getFaderPort()); } catch (IllegalArgumentException e) { cb4.setSelectedIndex(0); appConfig.setFaderPort(0);
    public void init() {	try {	    cb4.setSelectedIndex (appConfig.getFaderPort());	} catch (Exception e) {	    core.ErrorMsg.reportError ("Warning",				       "Values for MidiPorts are out of range!\n"				       + "Please fix this in the "				       + getPanelName() + " configuration panel.", e);	}	cbController.setSelectedIndex (appConfig.getFaderController(lb1.getSelectedIndex()));	cbChannel.setSelectedIndex (appConfig.getFaderChannel(lb1.getSelectedIndex()));	enabledBox.setSelected (appConfig.getFaderEnable());	faderPortWas = appConfig.getFaderPort();	resetComboBoxes();    }