if (bankFrame != null) { for(int part = 0; part < 4; part++) { for(int i = 0; i < 128; i++) { mPrVoices[0][i].setName(""+i+" "+YamahaFS1RBankDriver.getInstance().getPatchName(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+i));
if (bankFrame != null) { for (int b = 0; b < (mVoicesBanks.length-1); b++) { if (b == 0) {  for(int i = 0; i < 128; i++) { mPrVoices[b][i] = new VoiceName(""+(i+1)+" "+YamahaFS1RBankDriver.getInstance().getPatchName(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+i)); } } else { try { InputStream oIS = getClass().getResourceAsStream(mVoicesNamesFiles[b-1]); InputStreamReader oISR = new InputStreamReader(oIS); BufferedReader oBR = new BufferedReader(oISR); String oLine = oBR.readLine(); int c = 0; while(oLine != null && c < 128) { mPrVoices[b][c++] = new VoiceName(c+" "+oLine.trim()); oLine = oBR.readLine(); } } catch(IOException ioe) { ioe.printStackTrace(); } } } for (int part = 0; part < 4; part++) {  int oSelIndex = mBankSelector[part].cb.getSelectedIndex (); mVoiceSelector[part].cb.removeAllItems(); if (oSelIndex > 0) { int oVoiceIndex = mVoiceSelector[part].getValue(); for(int i = 0; i < 128; i++) { mVoiceSelector[part].cb.addItem(mPrVoices[oSelIndex-1][i]); } mVoiceSelector[part].setValue(oVoiceIndex);
	public void setBankEditorInformation (BankEditorFrame bf, int row,int col)	{		super.setBankEditorInformation(bf, row, col);		// init des noms des voices de la banque interne		if (bankFrame != null) {			for(int part = 0; part < 4; part++) {				for(int i = 0; i < 128; i++) {					mPrVoices[0][i].setName(""+i+" "+YamahaFS1RBankDriver.getInstance().getPatchName(((YamahaFS1RBankEditor)bankFrame).getBankPatch(), 128+i));				}			}		}	}