public static void onMouseClick(Component comp, final P1<Point> p1) {
		comp.addMouseListener(new MouseAdapter() {
			public void mouseClicked(MouseEvent e) {
				if (e.getButton() == MouseEvent.BUTTON1) {
					p1.e(e.getPoint());
				}
			}
		});
	}