public void processMouseWheelEvent(MouseWheelEvent e) {
		if (!sim.isSimulationRunning()) {
			// Rotate the currently selected peer using the mouse wheel.
			PeerAgent agent = sim.getCurrentPeerAgent();
			if ((agent != null) && calculatePeerRectangle(agent).contains(mouseX, mouseY)) {
				sim.updateCurrentPeerAgent(agent.getPeer().getLocation(), new GeoVelocity(agent.getPeer().getVelocity().getSpeed(), agent.getPeer().getVelocity().getBearing() + (float)Math.toRadians(e.getWheelRotation())));
				sim.refresh();
			}
		}

		super.processMouseWheelEvent(e);
	}