public void drawSelectedOmegaVector(Graphics2D g, Color background, boolean adjusting) {

		if (!oselected || !showORects)
			return;

		if (adjusting) {

			g.setStroke(ViewAttribute.THIN);
			g.setColor(getContrastColor(background));
			double ex = oHotSpot.getX() - rx;
			double ey = oHotSpot.getY() - ry;
			double angle = Math.acos(ex / Math.hypot(ex, ey));
			if (omega < 0.0) {
				if (ey > 0.0) {
					angle = 2.0 * Math.PI - angle;
				}
			}
			else {
				if (ey < 0.0) {
					angle -= 2.0 * Math.PI;
				}
				else {
					angle = -angle;
				}
			}
			angle *= 180.0 / Math.PI;
			if (arc == null)
				arc = new Arc2D.Double();
			arc.setArc(rx - arcSize, ry - arcSize, arcSize + arcSize, arcSize + arcSize, 0.0, angle, Arc2D.PIE);
			g.draw(arc);

		}
		else {

			setOHotSpot();
			setFHotSpot();
			drawOmega(g, background);

		}

		g.setColor(Color.red);
		g.fill(oHotSpot);

	}