public void calculcate() {
		Rectangle r = this.getBounds();
		float width = (float) r.getWidth();
		float height = (float) r.getHeight();
		// System.out.println("Width : " + width + " Height : " + height);

		float xScale = width / (bX + sX);
		float yScale = height / (bY + sY);
		
		scale = 0.0F;
		
		if (xScale > yScale) {
			scale = yScale;
		} else if (yScale > xScale) {
			scale = xScale;
		} else if (xScale == yScale) {
			scale = xScale;
		}
		// System.out.println("Biggest X " + bX + " Biggest Y : " + bY);
		// System.out.println("Smalest X : " + sX + " Smalest Y : " + sY);
		// System.out.println("Scale ; x : " + xScale + " y : " + yScale);
		// System.out.println("Scale : " + scale);
	}