setComboBox(cb1, PatchEdit.appConfig.getInitPortOut()); setComboBox(cb2, PatchEdit.appConfig.getInitPortIn()); setComboBox(cb3, PatchEdit.appConfig.getMasterController()); setContainerEnabled(channelPanel,currentDriver.isReady()); }
} catch (Exception e) {} setComboBox(cb1, PatchEdit.appConfig.getInitPortOut()); setComboBox(cb2, PatchEdit.appConfig.getInitPortIn()); setComboBox(cb3, PatchEdit.appConfig.getMasterController()); setContainerEnabled(channelPanel,currentDriver.isReady()); }
	private void resetPortComboBoxes() {		cb1.removeAllItems ();		try {			for (int j=0; j< currentDriver.getNumOutputDevices ();j++)				try {					cb1.addItem (j+": "+ currentDriver.getOutputDeviceName (j));				} catch (Exception e) {} 		} catch (Exception e) {}		cb2.removeAllItems ();		try {			for (int j=0; j< currentDriver.getNumInputDevices ();j++)				try {					cb2.addItem (j+": "+currentDriver.getInputDeviceName (j));				} catch (Exception e) {} 		} catch (Exception e) {}		cb3.removeAllItems ();		try {			for (int j=0; j< currentDriver.getNumInputDevices ();j++)				try {					cb3.addItem (j+": "+currentDriver.getInputDeviceName (j));				} catch (Exception e) {} 		} catch (Exception e) {}		setComboBox(cb1, PatchEdit.appConfig.getInitPortOut());		setComboBox(cb2, PatchEdit.appConfig.getInitPortIn());		setComboBox(cb3, PatchEdit.appConfig.getMasterController());		setContainerEnabled(channelPanel,currentDriver.isReady());	}