private void maybeShowPopup(MouseEvent e) {
			int x = e.getX() / imagemapPanel.zoomFactor;
			int y = e.getY() / imagemapPanel.zoomFactor;
			if (e.isPopupTrigger()
					&& (shapeList.isPointInsideShape(x, y) || shapeList
							.isShapePointAt(x, y))) {
				menuItem_rempoint.setEnabled(shapeList.getFoundKeyPoint() > 0); // poly
																				// point
				menuItem_convert
						.setEnabled(shapeList.getFoundShape().get_type() == ImagemapShape.TYPE_CIRCLE
								|| shapeList.getFoundShape().get_type() == ImagemapShape.TYPE_RECT);
				selectedShape = shapeList.getFoundShape(); // forrest
				popup.show(e.getComponent(), e.getX(), e.getY());
			}
		}