if (e.getStateChange() == ItemEvent.SELECTED) {  JComboBox oCB = (JComboBox)e.getSource(); Patch oPatch = YamahaFS1RBankDriver.getInstance().getPatch(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+oCB.getSelectedIndex()); YamahaFS1RVoiceDriver.getInstance().sendPatch (oPatch, aPart); } }
if (e.getStateChange() == ItemEvent.SELECTED) { if (mBankSelector[aPart-1].cb.getSelectedIndex() == 1) {  JComboBox oCB = (JComboBox)e.getSource(); Patch oPatch = YamahaFS1RBankDriver.getInstance().getPatch(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+oCB.getSelectedIndex()); YamahaFS1RVoiceDriver.getInstance().sendPatch (oPatch, aPart); } } }
						public void itemStateChanged (ItemEvent e) {							if (e.getStateChange() == ItemEvent.SELECTED)							{				//System.out.println("SEND PATCH");								JComboBox oCB = (JComboBox)e.getSource();								Patch oPatch = YamahaFS1RBankDriver.getInstance().getPatch(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+oCB.getSelectedIndex());								YamahaFS1RVoiceDriver.getInstance().sendPatch (oPatch, aPart);							}						}