MIDIEndpoint oOut = MIDISetup.getDestination(port); MIDIData oData = MIDIData.newMIDIPacketData(length); int oTab[] = new int[length]; for (int i = 0; i < length; i++)
MIDIEndpoint oOut = MIDISetup.getDestination(mPort);  MIDIData oData = MIDIData.newMIDIRawData(mLength);   int oTab[] = new int[mLength]; for (int i = 0; i < mLength; i++)
		public void run() 		{//			System.out.println("WriteLongMessage");			try			{				// send sysex				MIDIEndpoint oOut = MIDISetup.getDestination(port);				MIDIData oData = MIDIData.newMIDIPacketData(length); 				int oTab[] = new int[length];				for (int i = 0; i < length; i++)				{					oTab[i] = (int)sysex[i];//					System.out.print(" "+oTab[i]);				}				oData.addRawData(oTab);				MIDISysexSendRequest oSysex = new MIDISysexSendRequest(oOut, oData);				oSysex.send(MacOSXMidiWrapper.this);			}			catch(Exception cae)			{				cae.printStackTrace();			}		}