public void draw(Graphics g, boolean b, DrawObject d) 
	{
		Graphics2D g2d = (Graphics2D) g;
		if(b || (!b && (d != null)))
		{
			g2d.drawOval((int) x, (int) y, (int) width, (int) height);
			if(isKlicked || connectedTo != null)
			{
				g2d.fillOval((int) x, (int) y, (int) width, (int) height);
			}
		}
		if(connectedTo != null)
		{
			g.drawLine((int) (x+width/2), (int) (y+height/2), (int) connectedTo.getConnectX(), (int) connectedTo.getConnectY());
		}
	}