Color c = g2d.getColor();
Color color = g2d.getColor();
	public void drawConnector(Graphics g) {		Graphics2D g2d = (Graphics2D)g;		Point ptA = getCenter(constrained_component, constrained_side);		Point ptB = getCenter(target_component, target_side);				int[] xpoints = new int[] { ptA.x, ptA.x, ptB.x, ptB.x };		int[] ypoints = new int[] { ptA.y, ptA.y, ptB.y, ptB.y };				if (constrained_side < EAST) { // vertical			ypoints[1] = ypoints[2] = ptA.y + (ptB.y - ptA.y)/2;		} else {			xpoints[1] = xpoints[2] = ptA.x + (ptB.x - ptA.x)/2;		}				Stroke s = g2d.getStroke();		Color c = g2d.getColor();		g2d.setStroke(new BasicStroke(3));		g2d.setColor(Color.blue);		g2d.drawPolyline(xpoints, ypoints, 4);				/*    ptA = SwingUtilities.convertPoint(source, ptA, destination);		 ptB = SwingUtilities.convertPoint(source, ptB, destination);*/	}