AffineTransform t = ImageUtils.createTransform(getBounds(), imageRect, currentPicture.getDimension(), currentPicture.getAngle(), currentPicture.isFlipped());
AffineTransform t = ImageUtils.createTransform(getBounds(), imageRect, pictureShowNow.getDimension(), pictureShowNow.getAngle(), pictureShowNow.isFlipped());
		public void mouseReleased(MouseEvent e) {			inDrag = false;			centerMode = false;			if (currentPicture == null || oldRect == null || currentPicture.isOnline()) {				return;			}			AffineTransform t = ImageUtils.createTransform(getBounds(), imageRect, currentPicture.getDimension(), currentPicture.getAngle(), currentPicture.isFlipped());			//currentPicture.setCropTo(getRect(t.transform(start, null), t.transform(end, null)));			Rectangle tmpRect = new Rectangle();			tmpRect.setFrameFromDiagonal(t.transform(oldRect.getLocation(), null),					t.transform(new Point(oldRect.x + oldRect.width, oldRect.y + oldRect.height), null));			currentPicture.setCropTo(tmpRect);			setCursor(Cursor.getDefaultCursor());			repaint();		}