Revision 12961 branches/v10/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/CADToolAdapter.java

View differences:

CADToolAdapter.java
119 119
		super.paintComponent(g);
120 120
		if (CADExtension.getCADToolAdapter()!=this)
121 121
			return;
122

  
122 123
		if (adjustedPoint != null) {
123 124
			Point2D p = null;
124 125
			if (mapAdjustedPoint != null) {
......
370 371
	 */
371 372
	private void drawCursor(Graphics g) {
372 373
		Point2D p = adjustedPoint;
373

  
374
		g.setColor(Color.black);
374 375
		if (p == null) {
375 376
			getGrid().setViewPort(getMapControl().getViewPort());
376 377

  

Also available in: Unified diff