示例#1
0
  /** Perform a screenshot crop action */
  public void crop() {
    if (window != null) {
      return;
    }

    window = new SelectionWindow(this, DisplayUtil.getRealScreenSize());
    window.pack();
    window.setAlwaysOnTop(true);
    window.setVisible(true);
  }
示例#2
0
 /** Perform a full screenshot action */
 public void full() {
   upload(new ImageUpload(ScreenshotUtil.capture(DisplayUtil.getRealScreenSize())));
 }