PNode node = e.getPickedNode(); if (node instanceof ModuleView) startModuleLinks(e);  cachedEvent = null;
if (wasDoubleClick == true) wasDoubleClick  = false; else doMouseDoubleClicked(e);
	public void mouseClicked(PInputEvent e) {		if (timer.isRunning()) {			timer.stop();			PNode node = e.getPickedNode();			if (node instanceof ModuleView)				startModuleLinks(e);			//mousePressed(e);			cachedEvent = null;		}		else {			timer.restart();			cachedEvent = e;		}	}