!752

p-awt {
  final BufferedImage screen = shootScreenHidingConsole();
  final ImageSurface is = new ImageSurface(screen);
  showMaximizedFrame("Quick Screen Select", jscroll(is));
  onMouseRelease(is, r {
    Rectangle r = is.getSelection();
    if (r == null) ret;
    disposeFrame(is);
    showImage(clipBufferedImage(screen, r));
  });
  awt {
    is.zoomToDisplaySize();
  }
}