JComboBox oCB = (JComboBox)e.getSource(); Patch oPatch = YamahaFS1RBankDriver.getInstance().getPatch(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+oCB.getSelectedIndex()); YamahaFS1RVoiceDriver.getInstance().sendPatch (oPatch, aPart);
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) {				//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);						}