changed = true; Scene myScene = (Scene) list.get(row); switch (col) { case SYNTH: myScene.getPatch().getDevice().setSynthName((String) value); break; case TYPE: case PATCH_NAME:  break; case BANK_NUM: myScene.setBankNumber(((Integer) value).intValue()); break; case PATCH_NUM: myScene.setPatchNumber(((Integer) value).intValue()); break; case COMMENT: myScene.setComment((String) value); break; } list.set(row, myScene); }
changed = true; Scene myScene = getSceneAt(row); switch (col) { case SYNTH: myScene.getPatch().getDevice().setSynthName((String) value); break; case TYPE: case PATCH_NAME:  break; case BANK_NUM: myScene.setBankNumber(((Integer) value).intValue()); break; case PATCH_NUM: myScene.setPatchNumber(((Integer) value).intValue()); break; case COMMENT: myScene.setComment((String) value); break; } list.set(row, myScene); }
	public void setValueAt(Object value, int row, int col) {	    //ErrorMsg.reportStatus("SetValue at "+row+"  "+col+" Value:"+value);	    changed = true;	    Scene myScene = (Scene) list.get(row);	    switch (col) {	    case SYNTH:		myScene.getPatch().getDevice().setSynthName((String) value);		break;	    case TYPE:	    case PATCH_NAME:		// don't allow to change the Patch Type/Name		break;	    case BANK_NUM:		myScene.setBankNumber(((Integer) value).intValue());		break;	    case PATCH_NUM:		myScene.setPatchNumber(((Integer) value).intValue());		break;	    case COMMENT:		myScene.setComment((String) value);		break;	    }	    list.set(row, myScene);	}