private void createP5Link(String appletName, int nInlets, int nOutlets) {
		//post("creating new p5 link (" + appletName + ", " + nInlets + ", " + nOutlets + ")");
		objects[nObjects++] = appletName;
		
//		MaxPatcher p = this.getParentPatcher();
//		int[] rect = this.getMaxBox().getRect();
//		int thisWidth = rect[2] - rect[0];

		String objectName = appletName + LinkConstants.OBJECT_SUFFIX;
		// script new myobj newex 102 242 58 9109513 mxj P5Link max_com_test 4 1
		
		Atom[] message = new Atom[] {
				Atom.newAtom("new"),
				Atom.newAtom(objectName),
				Atom.newAtom("newex"),
				Atom.newAtom(currentX),
				Atom.newAtom(currentY),
				//Atom.newAtom(58),
				Atom.newAtom(defaultWidth),
				Atom.newAtom(9109513),
				Atom.newAtom("mxj"),
				Atom.newAtom("jk.link"),
				Atom.newAtom(appletName),
				Atom.newAtom(nInlets),
				Atom.newAtom(nOutlets)
		};

		currentX += defaultWidth+spacer+spacer;
		//String messageString = AtomUtils.AtomListToString(message);
		outlet(0,"script",message);
		
		/*
		MaxBox newBox = p.newDefault(rect[0]+thisWidth+spacer, rect[1], "newex", 
				new Atom[] {
				Atom.newAtom("mxj"),
				Atom.newAtom("P5Link"),
				Atom.newAtom(appletName),
				Atom.newAtom(nInlets),
				Atom.newAtom(nOutlets)});
		*/
	}