private synchronized void updatePathImage_Old() {
		if (gPanel.getWidth() == 0 || gPanel.getHeight() == 0) {
			return;
		}
		mPathImage = new BufferedImage(gPanel.getWidth(), gPanel.getHeight(),
				BufferedImage.TYPE_INT_ARGB);

		Graphics2D g2d = mPathImage.createGraphics();

		g2d.setColor(Color.black);
		g2d.fillRect(0, 0, gPanel.getWidth(), gPanel.getHeight());

		if (mPaths == null) {
			return;
		}

		ListIterator li = mPaths.listIterator();

		while (li.hasNext()) {
			RoutePath rp = (RoutePath) li.next();

			g2d.setColor(Color.decode("#" + rp.getColor()));
			// g2d.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER,
			// 0.5f));

			ListIterator ti = rp.getPath().listIterator();
			int lastX = -1;
			int lastY = -1;
			while (ti.hasNext()) {
				Trip t = (Trip) ti.next();
				ListIterator vi = t.getVertices().listIterator();
				while (vi.hasNext()) {
					Vertex v = (Vertex) vi.next();
					System.out.println("GraphFrame: " + v);
					int x = mapXToView(v.get_shape_pt_lon());
					int y = mapYToView(v.get_shape_pt_lat());
					if (lastX != -1) {
						g2d.drawLine(lastX, lastY, x, y);
					}
					lastX = x;
					lastY = y;
				}
			}
		}
		gPanel.setPathImage(mPathImage);

		this.repaint();
	}