public void moveObject(MouseEvent evt) {
		boolean bolRefresh = false;
		if ((moveObj != null) && (evt.getButton() == MouseEvent.BUTTON1)) {
			int newX = evt.getX();
			int newY = evt.getY();

			if (moveObj instanceof PlaceUI) {
				PlaceUI p = (PlaceUI) moveObj;
				p.setX(newX);
				p.setY(newY);
				bolRefresh = true;
			} else if (moveObj instanceof TransitionUI) {
				TransitionUI t = (TransitionUI) moveObj;
				t.setX(newX);
				t.setY(newY);
				bolRefresh = true;
			} else if (moveObj instanceof ArcUI) {
				ArcUI arc = (ArcUI) moveObj;
				arc.moveSelectedPoint(newX, newY);
				bolRefresh = true;
			} else if (moveObj instanceof Marker) {
				Marker marker = (Marker) moveObj;
				marker.moveMarker(newX, newY);
				bolRefresh = true;
			}

			if (bolRefresh) {
				moveObj = null;
				for (int i = 0; i < window.getPetriNetGraph().getNumArc(); i++){
					((ArcUI) window.getPetriNetGraph().getArc(i)).refreshEndPoints();
				}
			}
		}

	}