updateDisplay.runNow();
		public void itemPressed(VisualItem item, MouseEvent e) {			PElement p = (PElement) item.getEntity();						/*			// first click selects, second click deselects			if(checkMask(e.getModifiers(), MouseEvent.BUTTON1_MASK) && item.getEntity() instanceof PElement) {				p.setSelected(!p.isSelected());								// when showing popups, coordinates are calculated relative to the				// top level container, so we need to add an offset to the popup to				// fix this.				Point pRenderBox = _parent.getLocationOnScreen();				Point pWindow = _ctl.getView().gui().getLocationOnScreen();				_xOffset = (int) (pRenderBox.getX() - pWindow.getX());				_yOffset = (int) (pRenderBox.getY() - pWindow.getX());								if(_popup == null) {					// show popup					nv2d.graph.GraphElement geData = p.getNV2DGraphElement();					_popup = _pFactory.getPopup(_parent, new PopupProp(_ctl, geData), e.getX() + _xOffset, e.getY() + _yOffset);					_popup.show();				} else {					_popup.hide();					nv2d.graph.GraphElement geData = p.getNV2DGraphElement();					_popup = _pFactory.getPopup(_parent, new PopupProp(_ctl, geData), e.getX() + _xOffset, e.getY() + _yOffset);					_popup.show();				}				repaint();			}			*/						_lastItemClicked = item;			maybeShowPopup(e);			repaint();		}