private void recalculateDimensions() 
	{
		if(originalImage!=null)
			originalSize 	= new Point(originalImage.getAbsoluteWidth(), originalImage.getAbsoluteHeight());
		else
			originalSize 	= new Point(correctImage.getAbsoluteWidth(), correctImage.getAbsoluteHeight());
			
		scaledSize 		= new Point(originalSize);
		if(isScaled())
		{
			scaledSize.setLocation(originalSize.x*xScale, originalSize.y*yScale);
		}
		rotatedSize 	= new Point(scaledSize);
		if(isRotated())
		{
			double radianAngle	= Math.toRadians(rotation);
			double sine 		= Math.sin(radianAngle);
			double cose 		= Math.cos(radianAngle);
			if (sine < 0) sine 	= -sine;
			if (cose < 0) cose 	= -cose;
			rotatedSize.setLocation(scaledSize.x*cose + scaledSize.y*sine, scaledSize.x*sine + scaledSize.y*cose);
		}
	}