Exemple #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);
  }
Exemple #2
0
 /** Perform a full screenshot action */
 public void full() {
   upload(new ImageUpload(ScreenshotUtil.capture(DisplayUtil.getRealScreenSize())));
 }