oPanel1.add(new ScrollBarWidget("EG AR", p, 49, 79, -64, new TG100Model(p, 33 + offset),  new TG100Sender(0x1A + offset) ) );
oPanel1.add(new ScrollBarWidget("EG AR", p, 49, 79, -64, new TG100Model(patch, 33 + offset),  new TG100Sender(0x1A + offset) ) );
	private Container buildElementWindow(final int element) {	    int offset = TG100Constants.ELEMENT_SIZE * (element - 1);		Box verticalBox = Box.createVerticalBox();		JPanel oPanel1 = new JPanel(new FlowLayout(FlowLayout.LEFT));		// Waveform		oPanel1.add(new ScrollBarWidget("Waveform", p, 0, 139, 0, new TG100Model(p, 31 + offset, true),  new TG100Sender(0x18 + offset) ) );		// EG AR		oPanel1.add(new ScrollBarWidget("EG AR", p, 49, 79, -64, new TG100Model(p, 33 + offset),  new TG100Sender(0x1A + offset) ) );		// EG RR		oPanel1.add(new ScrollBarWidget("EG RR", p, 49, 79, -64, new TG100Model(p, 34 + offset),  new TG100Sender(0x1B + offset) ) );		verticalBox.add(oPanel1);		// Level Scaling Break Point 1		// Level Scaling Break Point 2		// Level Scaling Break Point 3		// Level Scaling Break Point 4		// Level Scaling Offset 1		// Level Scaling Offset 2		// Level Scaling Offset 3		// Level Scaling Offset 4		// Panpot		// LFO Speed		// LFO Delay		// LFO Pitch Mod Depth		// LFO Amp Mod Depth		// Pitch LFO Wave		// P-EG Range		// P-EG Velocity Switch		// P-EG LO/*		JPanel envelopePanel = new JPanel(new FlowLayout(FlowLayout.LEFT));		// P-EG R1		// P-EG R2		// P-EG R3		// P-EG RR		// P-EG L1		// P-EG L2		// P-EG L3		// P-EG RL		EnvelopeWidget pitchEnvelope = new EnvelopeWidget("  Envelope", p, new EnvelopeWidget.Node [] {		    new EnvelopeWidget.Node(0, 0, null, 0, 0, null, 0, false, null, null, null, null),        	new EnvelopeWidget.Node(0, 63, new TG100Model(p, 57 + offset),        	                        0, 127, new TG100Model(p, 62 + offset),        	                        -64, true, new TG100Sender(0x3E + offset), new TG100Sender(0x43 + offset),        	                        "P-EG R1","P-EG L1"),            new EnvelopeWidget.Node(0, 63, new TG100Model(p, 58 + offset),        	                        0, 127, new TG100Model(p, 63 + offset),        	                        -64, true, new TG100Sender(0x3F + offset), new TG100Sender(0x44 + offset),        	                        "P-EG R2","P-EG L2"),            new EnvelopeWidget.Node(0, 63, new TG100Model(p, 59 + offset),        	                        0, 127, new TG100Model(p, 64 + offset),        	                        -64, true, new TG100Sender(0x40 + offset), new TG100Sender(0x45 + offset),        	                        "P-EG R3","P-EG L3"),            new EnvelopeWidget.Node(0, 63, new TG100Model(p, 60 + offset),        	                        0, 127, new TG100Model(p, 65 + offset),        	                        -64, true, new TG100Sender(0x41 + offset), new TG100Sender(0x46 + offset),        	                        "P-EG RR","P-EG RL"),        });        envelopePanel.add(pitchEnvelope);        verticalBox.add(envelopePanel);        */		// Veloctiy Curve		return verticalBox;	}