Turned out to be simply this, where Point objects are delivered by mouseClicking on
the image:
public void setSelection(Point start, Point end)
{
int w = Math.abs(start.x - end.x);
int h = Math.abs(start.y - end.y);
subBufImg = bufImg.getSubimage(start.x, start.y, w, h);
}
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".