public int getQuadraticSize()
	{
		int val = 0;
		if(getWidth() > getHeight() && getHeight() != 0 && getWidth() != 0)
			val = getHeight();
		else if(getHeight() != 0 && getWidth() != 0)
			val = getWidth();
		return val;
	}