oPanel2.add(new KnobWidget("Volume", p, 0, 0x7F, 0, new YamahaFS1RPerformanceDriver.Model(p, 0x10), new YamahaFS1RPerformanceDriver.Sender(0x10))); oPanel2.add(new KnobWidget("Pan", p, 1, 0x7F, -64, new YamahaFS1RPerformanceDriver.Model(p, 0x11), new YamahaFS1RPerformanceDriver.Sender(0x11))); oPanel2.add(new KnobWidget("Note shift", p, 0, 48, -24, new YamahaFS1RPerformanceDriver.Model(p, 0x12), new YamahaFS1RPerformanceDriver.Sender(0x12))); oPanel2.add(new ComboBoxWidget("Ind out", p, new YamahaFS1RPerformanceDriver.Model(p, 0x14), new YamahaFS1RPerformanceDriver.Sender(0x14), new String []{"Off", "Pre ins", "Post ins"}));
oPanel2.add(new KnobWidget("Volume", p, 0, 0x7F, 0, new YamahaFS1RPerformanceDriver.Model((Patch)p, 0x10), new YamahaFS1RPerformanceDriver.Sender(0x10))); oPanel2.add(new KnobWidget("Pan", p, 1, 0x7F, -64, new YamahaFS1RPerformanceDriver.Model((Patch)p, 0x11), new YamahaFS1RPerformanceDriver.Sender(0x11))); oPanel2.add(new KnobWidget("Note shift", p, 0, 48, -24, new YamahaFS1RPerformanceDriver.Model((Patch)p, 0x12), new YamahaFS1RPerformanceDriver.Sender(0x12))); oPanel2.add(new ComboBoxWidget("Ind out", p, new YamahaFS1RPerformanceDriver.Model((Patch)p, 0x14), new YamahaFS1RPerformanceDriver.Sender(0x14), new String []{"Off", "Pre ins", "Post ins"}));
	private Container buildCommonWindow()	{		Box oPanel = Box.createVerticalBox();		JPanel oPanel1 = new JPanel(new FlowLayout(FlowLayout.LEFT));		oPanel1.add(new PatchNameWidget("Name",p));		oPanel1.add(new ComboBoxWidget("Category", p, new YamahaFS1RPerformanceDriver.Model(p, 0x0E), new YamahaFS1RPerformanceDriver.Sender(0x0E), YamahaFS1RVoiceEditor.mCategories));		oPanel.add(oPanel1);		JPanel oPanel2 = new JPanel(new FlowLayout(FlowLayout.LEFT));		oPanel2.add(new KnobWidget("Volume", p, 0, 0x7F, 0, new YamahaFS1RPerformanceDriver.Model(p, 0x10), new YamahaFS1RPerformanceDriver.Sender(0x10)));		oPanel2.add(new KnobWidget("Pan", p, 1, 0x7F, -64, new YamahaFS1RPerformanceDriver.Model(p, 0x11), new YamahaFS1RPerformanceDriver.Sender(0x11)));		oPanel2.add(new KnobWidget("Note shift", p, 0, 48, -24, new YamahaFS1RPerformanceDriver.Model(p, 0x12), new YamahaFS1RPerformanceDriver.Sender(0x12)));		oPanel2.add(new ComboBoxWidget("Ind out", p, new YamahaFS1RPerformanceDriver.Model(p, 0x14), new YamahaFS1RPerformanceDriver.Sender(0x14), new String []{"Off", "Pre ins", "Post ins"}));		oPanel.add(oPanel2);		return oPanel;	}